Skip to content

Commit 95807de

Browse files
authored
Merge pull request #89 from puppetlabs/fix_helm_deps_release
Fix helm packaging in release
2 parents 22d6698 + f4de3c6 commit 95807de

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,6 @@ jobs:
110110
env:
111111
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112112

113-
- name: Tag Release
114-
uses: ncipollo/release-action@v1
115-
with:
116-
tag: ${{ steps.nv.outputs.version }}
117-
token: ${{ secrets.GITHUB_TOKEN }}
118-
bodyfile: release-notes.md
119-
draft: false
120-
prerelease: false
121-
122113
- name: Set up Docker Buildx
123114
uses: docker/setup-buildx-action@v2
124115

@@ -136,8 +127,8 @@ jobs:
136127
context: docker
137128
push: true
138129
tags: |
139-
ghcr.io/${{ github.repository }}:${{ steps.nv.outputs.appVersion }}
140-
ghcr.io/${{ github.repository }}:latest
130+
ghcr.io/${{ github.repository }}/vmpooler:${{ steps.nv.outputs.appVersion }}
131+
ghcr.io/${{ github.repository }}/vmpooler:latest
141132
142133
- uses: azure/setup-helm@v3
143134

@@ -148,6 +139,7 @@ jobs:
148139
- name: Package Helm charts
149140
run: |
150141
set -e
142+
helm dependency update helm-charts/vmpooler
151143
cd docs/
152144
helm package ../helm-charts/*
153145
helm repo index --url https://puppetlabs.github.io/vmpooler-deployment/ .
@@ -159,3 +151,12 @@ jobs:
159151
git add docs
160152
git commit -m "release helm-chart version ${{ steps.nv.outputs.version }}"
161153
git push
154+
155+
- name: Tag Release
156+
uses: ncipollo/release-action@v1
157+
with:
158+
tag: ${{ steps.nv.outputs.version }}
159+
token: ${{ secrets.GITHUB_TOKEN }}
160+
bodyfile: release-notes.md
161+
draft: false
162+
prerelease: false

0 commit comments

Comments
 (0)