Skip to content

Commit ab40ecc

Browse files
Migrate from gsutil to gcloud storage (#15053) (#1105)
[upstream:afd50116b0d8d000c6616cbd8471cd581f4deefa] Signed-off-by: Modular Magician <[email protected]>
1 parent 6ebb47f commit ab40ecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudbuild_trigger_build/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ resource "google_cloudbuild_trigger" "build-trigger" {
99

1010
build {
1111
step {
12-
name = "gcr.io/cloud-builders/gsutil"
13-
args = ["cp", "gs://mybucket/remotefile.zip", "localfile.zip"]
12+
name = "gcr.io/cloud-builders/gcloud"
13+
args = ["storage", "cp", "gs://mybucket/remotefile.zip", "localfile.zip"]
1414
timeout = "120s"
1515
secret_env = ["MY_SECRET"]
1616
}

0 commit comments

Comments
 (0)