Skip to content

Commit a8c54ab

Browse files
authored
Merge pull request #301 from Jefftree/patch-4
Update cloudbuild.yaml to support docker buildx
2 parents a6a7c13 + 5d18abd commit a8c54ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: cloudbuild.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ steps:
1010
- DOCKER_CLI_EXPERIMENTAL=enabled
1111
args:
1212
- release-staging
13+
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
14+
# set the home to /root explicitly to if using docker buildx
15+
- HOME=/root
1316
substitutions:
1417
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
1518
# can be used as a substitution

0 commit comments

Comments
 (0)