diff --git a/.github/workflows/build-and-publish-beta-chart.yml b/.github/workflows/build-and-publish-beta-chart.yml index b4ade6f..8ca6a12 100644 --- a/.github/workflows/build-and-publish-beta-chart.yml +++ b/.github/workflows/build-and-publish-beta-chart.yml @@ -73,6 +73,10 @@ jobs: fi # Step 4: Package and Commit Chart + - name: Package Chart + run: | + helm package charts/cloudzero-agent/ --destination .deploy + - name: Commit updated Chart.yaml run: | git add . @@ -94,6 +98,11 @@ jobs: run: | git checkout -f gh-pages + - name: Move release Tarball + run: | + cp .deploy/cloudzero-agent-${{ env.NEW_VERSION }}.tgz ./beta/ + rm -fr .deploy + - name: Update Index run: helm repo index --url https://cloudzero.github.io/cloudzero-charts/beta ./beta/