diff --git a/cloudbuild/go.yaml b/cloudbuild/go.yaml index 23dbf524e..a38ef71fc 100644 --- a/cloudbuild/go.yaml +++ b/cloudbuild/go.yaml @@ -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