Skip to content

Commit

Permalink
push helm to oci
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Jan 22, 2024
1 parent 7212cd9 commit 7ffb0cd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/upload-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build chart
run: |
VERSION=$(echo "${{github.event.release.tag_name }}" | sed 's/v//g')
Expand All @@ -33,12 +40,13 @@ jobs:
make helm-docs
./bin/helm-docs
helm package ./chart/ --version $VERSION --app-version v$VERSION -d dist
helm push dist/sealed-secrets-web-${VERSION}.tgz oci://ghcr.io/bakito/helm-charts
- name: Install chart-releaser
uses: engineerd/[email protected]
with:
name: cr
url: https://github.com/helm/chart-releaser/releases/download/v1.4.1/chart-releaser_1.4.1_linux_amd64.tar.gz
url: https://github.com/helm/chart-releaser/releases/download/v1.6.1/chart-releaser_1.6.1_linux_amd64.tar.gz
pathInArchive: cr

- name: Upload Chart
Expand Down

0 comments on commit 7ffb0cd

Please sign in to comment.