Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:

- name: Checkout main
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Extract tag version
id: versioning
run: |
Expand Down Expand Up @@ -83,10 +88,12 @@ jobs:

- name: Publish to to GHCR
run: |
echo ${{ secrets.HELM_TOKEN }} | helm registry login ghcr.io --username ${{ github.repository_owner }} --password-stdin
helm push docs/onechart-${CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository_owner }}
helm push docs/cron-job-${CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository_owner }}
helm push docs/static-site-${STATIC_SITE_CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository_owner }}
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io \
--username ${{ github.repository_owner }} \
--password-stdin
helm push docs/onechart-${CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository }}
helm push docs/cron-job-${CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository }}
helm push docs/static-site-${STATIC_SITE_CHART_VERSION}.tgz oci://ghcr.io/${{ github.repository }}
env:
CHART_VERSION: ${{ steps.chart_version.outputs.chart_version }}
STATIC_SITE_CHART_VERSION: ${{ steps.chart_version.outputs.static_site_chart_version }}
Expand Down