Skip to content

Commit

Permalink
build: update cloudbuild for private images (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
cojenco authored Oct 22, 2024
1 parent 57aec0c commit 86db6be
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions cloudbuild.yaml → cloudbuild_prelaunch.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Google LLC
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,17 +15,20 @@
timeout: 7200s # 2 hours
steps:
- name: gcr.io/cloud-builders/docker
args: ["build", "-t", "gcr.io/cloud-devrel-public-resources/storage-testbench:$TAG_NAME", "."]
args: ["build", "-t", "gcr.io/gcs-sdk-cloud-builds/storage-testbench-prelaunch:$SHORT_SHA", "."]
dir: .
id: storage-testbench-build
id: storage-testbench-prelaunch-build
- name: gcr.io/cloud-builders/docker
args:
[
"tag",
"gcr.io/cloud-devrel-public-resources/storage-testbench:$TAG_NAME",
"gcr.io/cloud-devrel-public-resources/storage-testbench:latest",
"gcr.io/gcs-sdk-cloud-builds/storage-testbench-prelaunch:$SHORT_SHA",
"gcr.io/gcs-sdk-cloud-builds/storage-testbench-prelaunch:latest",
]

images:
- gcr.io/cloud-devrel-public-resources/storage-testbench:$TAG_NAME
- gcr.io/cloud-devrel-public-resources/storage-testbench:latest
- gcr.io/gcs-sdk-cloud-builds/storage-testbench-prelaunch:$SHORT_SHA
- gcr.io/gcs-sdk-cloud-builds/storage-testbench-prelaunch:latest

options:
logging: CLOUD_LOGGING_ONLY

0 comments on commit 86db6be

Please sign in to comment.