sigs.k8s.io/kueue@v0.6.2/cloudbuild.yaml (about)

     1  # See https://cloud.google.com/cloud-build/docs/build-config
     2  timeout: 3000s
     3  # A build step specifies an action that you want Prow to perform.
     4  # For each build step, Prow executes a job.
     5  steps:
     6    # see https://github.com/kubernetes/test-infra/tree/master/config/jobs/image-pushing
     7    - name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20221214-1b4dd4d69a'
     8      entrypoint: make
     9      args:
    10        - image-push
    11      env:
    12        - IMAGE_REGISTRY=gcr.io/$PROJECT_ID
    13        - GIT_TAG=$_GIT_TAG
    14        - EXTRA_TAG=$_PULL_BASE_REF
    15        - DOCKER_BUILDX_CMD=/buildx-entrypoint
    16    - name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20221214-1b4dd4d69a'
    17      entrypoint: make
    18      args:
    19        - debug-image-push
    20      env:
    21        - IMAGE_REGISTRY=gcr.io/$PROJECT_ID
    22        - GIT_TAG=$_GIT_TAG
    23        - EXTRA_TAG=$_PULL_BASE_REF
    24        - DOCKER_BUILDX_CMD=/buildx-entrypoint
    25  substitutions:
    26    # _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
    27    # can be used as a substitution
    28    _GIT_TAG: '0.0.0'
    29    # _PULL_BASE_REF will contain the ref that was pushed to trigger this build -
    30    # a branch like 'main' or 'release-0.2', or a tag like 'v0.2'.
    31    _PULL_BASE_REF: 'main'
    32  options:
    33    substitution_option: ALLOW_LOOSE