Skip to content

Commit

Permalink
images/alpine: Build for arm64
Browse files Browse the repository at this point in the history
This commit adds a Google Cloud Build definition for building alpine
arm64 images and pushing them as a manifest list together with their
amd64 counterparts.
  • Loading branch information
LorbusChris committed Jun 15, 2021
1 parent ae26658 commit da68da2
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions images/alpine/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
steps:
- name: gcr.io/cloud-builders/docker
- name: gcr.io/k8s-staging-test-infra/docker-buildx:latest
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
- .
dir: .
- name: gcr.io/cloud-builders/docker
args:
- tag
- gcr.io/$PROJECT_ID/alpine:$_GIT_TAG
- gcr.io/$PROJECT_ID/alpine:latest
substitutions:
_GIT_TAG: '12345'
images:
Expand Down

0 comments on commit da68da2

Please sign in to comment.