Skip to content

Commit

Permalink
update-helm-repo: push only specific chart to registry
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Varankin <[email protected]>
  • Loading branch information
narqo committed May 10, 2024
1 parent 57b008d commit 82848ae
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/update-helm-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ env.AUTHTOKEN }}

- name: Push charts to GHCR
- name: Push chart to GHCR
run: |
shopt -s nullglob
for pkg in .cr-release-packages/*.tgz; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/helm-charts"
done
helm push \
${{ env.CR_PACKAGE_PATH }}/${{ steps.parse-chart.outputs.packagename }}.tgz \
"oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/helm-charts"

0 comments on commit 82848ae

Please sign in to comment.