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 d07b596 commit 6006bedCopy full SHA for 6006bed
.github/workflows/helm.yml
@@ -43,11 +43,12 @@ jobs:
43
- name: Build chart 🚚
44
run: |
45
if [[ "${{ github.ref_type }}" == "tag" ]]; then
46
- sed -i "s/0.0.0/${GITHUB_REF_NAME}/g" helm/Chart.yaml
+ VERSION="${GITHUB_REF_NAME}"
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
+ 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 🚀
0 commit comments