Skip to content

Commit

Permalink
chore(ci): push OCI charts
Browse files Browse the repository at this point in the history
  • Loading branch information
thphuong committed Sep 24, 2024
1 parent 1babb0f commit 4e2ca80
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,16 @@ jobs:
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
HELM_EXPERIMENTAL_OCI: "1"

- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Charts to GHCR
run: |
for pkg in .cr-release-packages/*.tgz; do
helm push "${pkg}" oci://ghcr.io/${{ github.repository }}
done

0 comments on commit 4e2ca80

Please sign in to comment.