Skip to content

Commit

Permalink
fix: helm packaging
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly committed Nov 30, 2022
1 parent 54a966a commit e58d270
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ jobs:
IMG="$IMG_REPOSITORY:${{ github.ref_name }}" make docker-buildx
- name: Create charts tmp directory
run: |
set -e
mkdir charts-tmp
cp -a charts/kyverno-aws-adapter charts-tmp/kyverno-aws-adapter
- name: Package charts
run: |
set -e
for dir in `find charts-tmp -maxdepth 1 -mindepth 1 -type d -print`; do
chart=${dir##*/}
echo "Found chart: ${chart}"
helm package charts-tmp/${chart} --destination --version ${{ github.ref_name }} --app-version ${{ github.ref_name }} .helm-dist
helm package charts-tmp/${chart} --version ${{ github.ref_name }} --app-version ${{ github.ref_name }} --destination .helm-dist
done
- name: Run chart-releaser
uses: helm/[email protected]
Expand Down

0 comments on commit e58d270

Please sign in to comment.