jobName: builder-base-tooling-postsubmit-al-{{ .alVersion }}
runIfChanged: builder-base/.*|generate-attribution/.*|scripts/setup_public_ecr_push.sh
maxConcurrency: 1
imageBuild: true
useDockerBuildX: true
architecture: AMD64
prCreation: true
automountServiceAccountToken: true
commands:
- source scripts/setup_public_ecr_push.sh
- make release -C $PROJECT_PATH IMAGE_TAG=$PULL_BASE_SHA.${AL_TAG}
projectPath: builder-base
envVars:
- name: AL_TAG
  value: {{ .alVersion }}
- name: CREATE_BUILDER_PODS
  value: true
- name: IMAGE_REPO
  value: public.ecr.aws/eks-distro-build-tooling
- name: ECR_PUBLIC_PUSH_ROLE_ARN
  value: arn:aws:iam::832188789588:role/ECRPublicPushRole
- name: AWS_REGION
  value: us-east-1
extraRefs:
- baseRef: main
  org: eks-distro-pr-bot
  repo: eks-distro-prow-jobs
- baseRef: main
  org: eks-distro-pr-bot
  repo: eks-anywhere-prow-jobs
resources:
  requests:
    cpu: "1"
    memory: 2Gi
