Skip to content

Commit

Permalink
Merge pull request #24 from nirmata/fix-helm-packaging
Browse files Browse the repository at this point in the history
fix: helm packaging
  • Loading branch information
eddycharly authored Nov 30, 2022
2 parents 54a966a + e58d270 commit 9995067
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 9995067

Please sign in to comment.