Skip to content

Commit

Permalink
use GIT_TAG since it is recommended by the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raywainman committed Dec 16, 2024
1 parent 75af253 commit 0bc6e40
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions addon-resizer/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ steps:
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:latest'
entrypoint: make
env:
- TAG=$_PULL_BASE_REF
- TAG=$_GIT_TAG
args:
- all-push
substitutions:
# _PULL_BASE_REF will contain the ref that was pushed to to trigger this build -
# a branch like 'master' or 'release-0.2', or a tag like 'v0.2'.
_PULL_BASE_REF: '0.0.0' # default value, this is substituted at build time
_GIT_TAG: '0.0.0' # default value, this is substituted at build time

0 comments on commit 0bc6e40

Please sign in to comment.