Skip to content

Commit

Permalink
Merge pull request #659 from wongma7/cloudbuildbuildx
Browse files Browse the repository at this point in the history
(Try to) fix cloudbuild
  • Loading branch information
k8s-ci-robot authored Dec 16, 2020
2 parents 9873e22 + dff4ef1 commit 7ad3e65
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
timeout: 1200s
steps:
- name: gcr.io/cloud-builders/docker
args:
- run
- --rm
- --privileged
- multiarch/qemu-user-static
- --reset
- -p
- "yes"
- name: gcr.io/cloud-builders/docker
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- HOME=/root
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
- --platform=linux/arm64,linux/amd64
- --output="type=image,push=false"
- --output="type=image,push=true"
- .
- --target=debian-base
- HOME=/root
- name: gcr.io/cloud-builders/docker
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- HOME=/root
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
- --platform=linux/arm64,linux/amd64
- --output="type=image,push=false"
- --output="type=image,push=true"
- .
- --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"
- "gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:$_GIT_TAG-amazonlinux"
- "gcr.io/k8s-staging-provider-aws/aws-ebs-csi-driver:latest-amazonlinux"

0 comments on commit 7ad3e65

Please sign in to comment.