Skip to content

Commit

Permalink
package charts
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 e88269d commit f8d02b1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,21 @@ jobs:
set -e
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
IMG="$IMG_REPOSITORY:${{ github.ref_name }}" make docker-buildx
- name: Create charts tmp directory
run: |
mkdir charts-tmp
cp -a charts/kyverno-aws-adapter charts-tmp/kyverno-aws-adapter
- name: Package charts
run: |
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
done
# - name: Run chart-releaser
# uses: helm/[email protected]
# with:
# charts_dir: .helm-dist
# skip_packaging: true
# env:
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit f8d02b1

Please sign in to comment.