From e58d27031208181e41a3d9d30925229c5e3aa625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 30 Nov 2022 18:43:46 +0100 Subject: [PATCH] fix: helm packaging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8587bcc..0792a79 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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/chart-releaser-action@v1.4.1