We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c347bb1 commit b691eb8Copy full SHA for b691eb8
.github/actions/update-gitops/action.yml
@@ -95,6 +95,7 @@ runs:
95
if: inputs.CREATE_PR == 'true'
96
working-directory: gitops
97
run: |
98
- BRANCH_NAME="deploy-${{ inputs.SERVICE_NAME }}-${{ inputs.IMAGE_TAG//:/- }}"
99
- git push -u origin $BRANCH_NAME
+ BRANCH_NAME="deploy-${{ inputs.SERVICE_NAME }}-${{ inputs.IMAGE_TAG }}"
+ BRANCH_NAME=${BRANCH_NAME//:/-}
100
+ git push -u origin "$BRANCH_NAME"
101
gh pr create --title "Update image tag for ${{ inputs.SERVICE_NAME }}" --body "Update image tag for ${{ inputs.SERVICE_NAME }}"
0 commit comments