Skip to content

Commit

Permalink
update chart version as well
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimprinzbach committed Nov 4, 2023
1 parent f76c979 commit 4a810de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ jobs:
run: |
git config user.name "Incubator"
git config user.email "[email protected]"
- name: Set image tag in Chart
- name: Set image tag in Chart and chart version
run: |
yq e -i ".app.image.tag = \"${{github.ref_name}}\"" charts/gitops-nginx-demo/values.yaml
TAG=${{github.ref_name}}
yq e -i ".app.image.tag = \"${TAG}\"" charts/gitops-nginx-demo/values.yaml
yq e -i ".version = \"${TAG#v}\"" charts/gitops-nginx-demo/Chart.yaml
- name: Checkout forked chart-releaser
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 4a810de

Please sign in to comment.