diff --git a/images/alpine/cloudbuild.yaml b/images/alpine/cloudbuild.yaml index c41db9640b92..10c0d0362787 100644 --- a/images/alpine/cloudbuild.yaml +++ b/images/alpine/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/alpine:$_GIT_TAG + - --tag=gcr.io/$PROJECT_ID/alpine:$_GIT_TAG + - --platform=linux/amd64,linux/arm64/v8 - --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/alpine:$_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/alpine:$_GIT_TAG - gcr.io/$PROJECT_ID/alpine:latest substitutions: _GIT_TAG: '12345' -images: - - 'gcr.io/$PROJECT_ID/alpine:$_GIT_TAG' - - 'gcr.io/$PROJECT_ID/alpine:latest'