diff --git a/images/git/Dockerfile b/images/git/Dockerfile index f1c9b950f07f..1f81d6093f87 100644 --- a/images/git/Dockerfile +++ b/images/git/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM gcr.io/k8s-prow/alpine:v20200605-44f6c96 +FROM gcr.io/k8s-prow/alpine:v20210618-2814345 ARG IMAGE_ARG ENV IMAGE=${IMAGE_ARG} diff --git a/images/git/cloudbuild.yaml b/images/git/cloudbuild.yaml index 6320c7564193..f565e03fff72 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'