We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63e74f5 commit 3fa07c2Copy full SHA for 3fa07c2
.github/workflows/helm.yml
@@ -43,12 +43,13 @@ jobs:
43
- name: Build chart 🚚
44
run: |
45
if [[ "${{ github.ref_type }}" == "tag" ]]; then
46
- sed -i "s/0.0.0/${{ github.ref }}/g" helm/Chart.yaml
+ VERSION="${{ github.ref }}"
47
else
48
- sed -i "s/0.0.0/0.0.0-${GITHUB_SHA::7}/g" helm/Chart.yaml
+ VERSION="0.0.0-${GITHUB_SHA::7}"
49
fi
50
51
- npm run build:chart
+ sed -i "s/0.0.0/$VERSION/g" helm/Chart.yaml
52
+ npm run build:chart -- --image cubos/disk-resizer-controller:$VERSION
53
54
- name: Publish chart 🚀
55
0 commit comments