diff --git a/images/git/cloudbuild.yaml b/images/git/cloudbuild.yaml index 6320c7564193f..f565e03fff72b 100644 --- a/images/git/cloudbuild.yaml +++ b/images/git/cloudbuild.yaml @@ -1,19 +1,21 @@ steps: - - name: gcr.io/cloud-builders/docker + - name: gcr.io/k8s-testimages/gcb-docker-gcloud + entrypoint: /buildx-entrypoint args: - build - - -t - - gcr.io/$PROJECT_ID/git:$_GIT_TAG + - --tag=gcr.io/$PROJECT_ID/git:$_GIT_TAG + - --platform=linux/amd64,linux/arm64/v8 - --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/git:$_GIT_TAG + - --push - . dir: . - - name: gcr.io/cloud-builders/docker + - name: gcr.io/k8s-testimages/gcb-docker-gcloud + entrypoint: gcloud args: - - tag + - container + - images + - add-tag - gcr.io/$PROJECT_ID/git:$_GIT_TAG - gcr.io/$PROJECT_ID/git:latest substitutions: _GIT_TAG: '12345' -images: - - 'gcr.io/$PROJECT_ID/git:$_GIT_TAG' - - 'gcr.io/$PROJECT_ID/git:latest'