Skip to content

Commit 1b79a52

Browse files
committed
Make pushed builds public
1 parent d337fb7 commit 1b79a52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ steps:
4141
- 'GOARCH=${_GOARCH}'
4242
- 'VERSION=${TAG_NAME}'
4343
- name: 'gcr.io/cloud-builders/gsutil'
44-
args: ['-h', 'Content-Type:application/gzip', 'cp', 'kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz', 'gs://kubebuilder-release/kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz']
44+
args: ['-h', 'Content-Type:application/gzip', 'cp', '-a', 'public-read', 'kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz', 'gs://kubebuilder-release/kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz']
4545
env:
4646
- 'GOOS=${_GOOS}'
4747
- 'GOARCH=${_GOARCH}'

build/cloudbuild_tools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ steps:
1919
- 'GOOS=${_GOOS}'
2020
- 'GOARCH=${_GOARCH}'
2121
- name: 'gcr.io/cloud-builders/gsutil'
22-
args: ['-h', 'Content-Type:application/gzip', 'cp', '/workspace/kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz', 'gs://kubebuilder-tools/kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz']
22+
args: ['-h', 'Content-Type:application/gzip', 'cp', '-a', 'public-read', '/workspace/kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz', 'gs://kubebuilder-tools/kubebuilder-${TAG_NAME}-${_GOOS}-${_GOARCH}.tar.gz']
2323
env:
2424
- 'GOOS=${_GOOS}'
2525
- 'GOARCH=${_GOARCH}'

0 commit comments

Comments
 (0)