Skip to content

Commit

Permalink
Merge pull request #22444 from LorbusChris/alpine-arm64
Browse files Browse the repository at this point in the history
images/alpine: Build for arm64
  • Loading branch information
k8s-ci-robot authored Jun 18, 2021
2 parents 4131bdb + fa7b629 commit 2814345
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions images/alpine/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 2814345

Please sign in to comment.