Skip to content

Commit

Permalink
Merge pull request eksctl-io#658 from wongma7/cloudbuildbuildx
Browse files Browse the repository at this point in the history
Use buildx in cloudbuild
  • Loading branch information
k8s-ci-robot committed Dec 15, 2020
2 parents da40a7b + 99c4c0a commit 05a4fee
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,26 @@ timeout: 1200s
steps:
- name: gcr.io/cloud-builders/docker
args:
- buildx
- build
- --tag=gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:$_GIT_TAG
- --tag=gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:latest
- --target=debian-base
- --platform=linux/arm64,linux/amd64
- --output="type=image,push=false"
- .
- --target=debian-base
- HOME=/root
- name: gcr.io/cloud-builders/docker
args:
- buildx
- build
- --tag=gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:$_GIT_TAG-amazonlinux
- --tag=gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:latest-amazonlinux
- --target=amazonlinux
- --platform=linux/arm64,linux/amd64
- --output="type=image,push=false"
- .
- --target=amazonlinux
- HOME=/root
images:
- "gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:$_GIT_TAG"
- "gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:latest"
Expand Down

0 comments on commit 05a4fee

Please sign in to comment.