Skip to content

Commit 5602199

Browse files
authored
Merge pull request #130 from Vauhtijuoksu/new-pipeline
Fix main->trunk
2 parents 60c83f9 + 940aadd commit 5602199

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gh-publish.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ jobs:
6363
mkdir ~/.kube
6464
echo "${{ vars.KUBECONFIG }}" > ~/.kube/config
6565
kubectl get all
66-
- name: Extract main sha tag
67-
id: main_sha
66+
- name: Extract trunk sha tag
67+
id: trunk_sha
6868
run: |
69-
# Find the line with `:main-...`
70-
full_line="$(echo '${{ steps.meta.outputs.tags }}' | grep ':main-pipeline-')"
69+
# Find the line with `:trunk-...`
70+
full_line="$(echo '${{ steps.meta.outputs.tags }}' | grep ':trunk-')"
7171
# Strip everything before the last :
7272
tag="${full_line##*:}"
7373
echo "tag=$tag" >> $GITHUB_OUTPUT
7474
- uses: azure/setup-helm@v3.5
7575
- run: |
76-
helm upgrade --install -n cms cms deployment/ -f deployment/prod-values.yaml --set image.tag=${{ steps.main_sha.outputs.tag }}
76+
helm upgrade --install -n cms cms deployment/ -f deployment/prod-values.yaml --set image.tag=${{ steps.trunk_sha.outputs.tag }}

0 commit comments

Comments
 (0)