Skip to content

Commit 4ab87f4

Browse files
committed
buildx
Signed-off-by: Sertac Ozercan <[email protected]>
1 parent f733d91 commit 4ab87f4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

releasing/cloudbuild_kustomize_image.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,26 @@ steps:
99
- "PROJECT_ID=$PROJECT_ID"
1010
- "_GIT_TAG=$_GIT_TAG"
1111
- "_PULL_BASE_REF=$_PULL_BASE_REF"
12-
# We need to use bash to configure the build date and version properly.
1312
- name: "gcr.io/cloud-builders/docker"
1413
entrypoint: /bin/bash
1514
args:
1615
- -c
1716
- >
1817
docker
18+
buildx
19+
create
20+
--name
21+
builder
22+
--use
23+
--bootstrap
24+
# We need to use bash to configure the build date and version properly.
25+
- name: "gcr.io/cloud-builders/docker"
26+
entrypoint: /bin/bash
27+
args:
28+
- -c
29+
- >
30+
docker
31+
buildx
1932
build
2033
-t
2134
gcr.io/$PROJECT_ID/kustomize:${_GIT_TAG}

0 commit comments

Comments
 (0)