We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05560ba commit 06e93ecCopy full SHA for 06e93ec
.github/workflows/gh-publish.yaml
@@ -68,7 +68,11 @@ jobs:
68
- name: Extract main sha tag
69
id: main_sha
70
run: |
71
- echo "tag=$(echo '${{ steps.meta.outputs.tags }}' | grep '^.*:new-pipeline-')" >> $GITHUB_OUTPUT
+ # Find the line with `:main-...`
72
+ full_line="$(echo '${{ steps.meta.outputs.tags }}' | grep ':new-pipeline-')"
73
+ # Strip everything before the last :
74
+ tag="${full_line##*:}"
75
+ echo "tag=$tag" >> $GITHUB_OUTPUT
76
- uses: azure/setup-helm@v3.5
77
- run: |
78
helm upgrade --install -n cms cms deployment/ -f deployment/prod-values.yaml --set image.tag=${{ steps.main_sha.outputs.tag }}
0 commit comments