File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,19 @@ options:
9
9
substitution_option : ALLOW_LOOSE
10
10
machineType : ' N1_HIGHCPU_8'
11
11
steps :
12
- - name : gcr.io/k8s-testimages/gcb- docker-gcloud
12
+ - name : gcr.io/cloud-builders/ docker
13
13
entrypoint : bash
14
- env :
15
- # Required because the default HOME is /builder/root but buildx is
16
- # installed in /root/.docker. Not setting this results in docker not
17
- # finding buildx during make.
18
- - HOME=/root
19
14
args :
20
15
- -c
21
16
- |
22
17
set -xeuo pipefail
23
18
24
- # Run the image's buildx entrypoint to initialise the build environment
25
- # appropriately for the image before running make
26
- /buildx-entrypoint version
19
+ # Initialise a new builder instance
20
+ docker buildx create --use
21
+
22
+ # Create docker credentials for pushing to gcr.io from our inherited
23
+ # gcloud credentials
24
+ gcloud auth configure-docker
27
25
28
26
make push-multiarch-images \
29
27
REGISTRY=gcr.io/$PROJECT_ID \
You can’t perform that action at this time.
0 commit comments