Skip to content

Commit 2a5f397

Browse files
authored
Fix substitution of _SHORT_TAG in cloudbuild (#2146)
1 parent 61713e2 commit 2a5f397

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ timeout: 1200s
55
# this prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
66
# or any new substitutions added in the future.
77
options:
8+
dynamic_substitutions: true
89
substitution_option: ALLOW_LOOSE
910
machineType: 'N1_HIGHCPU_8'
1011
steps:
@@ -18,6 +19,8 @@ steps:
1819
args:
1920
- -c
2021
- |
22+
set -xeuo pipefail
23+
2124
# Run the image's buildx entrypoint to initialise the build environment
2225
# appropriately for the image before running make
2326
/buildx-entrypoint version

0 commit comments

Comments
 (0)