Allow specification of origin in cloudbuild.
PiperOrigin-RevId: 251347966
This commit is contained in:
parent
bfe3220992
commit
18e6e63503
|
@ -17,4 +17,6 @@ steps:
|
|||
entrypoint: 'bash'
|
||||
args:
|
||||
- '-c'
|
||||
- 'if [[ "$BRANCH_NAME" == "master" ]]; then git push origin go:go; fi'
|
||||
- 'if [[ "$BRANCH_NAME" == "master" ]]; then git push "${_ORIGIN}" go:go; fi'
|
||||
substitutions:
|
||||
_ORIGIN: origin
|
||||
|
|
Loading…
Reference in New Issue