Skip to content

Commit

Permalink
Merge pull request #8 from mbaldessari/mirror-to-quay
Browse files Browse the repository at this point in the history
Add step to push the chart out to quay.io
  • Loading branch information
mbaldessari authored Aug 22, 2024
2 parents 29f6fa1 + 3604bd8 commit 31b7adf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
SOURCE_BRANCH_OVERRIDE: "${{ inputs.SOURCE_BRANCH_OVERRIDE }}"
UMBRELLA_REPO: "validatedpatterns/helm-charts"
ASSETS_BASE_URL: "https://github.com/validatedpatterns/helm-charts/releases/download/main/"
QUAY_BASE_URL: "oci://quay.io/hybridcloudpatterns"

jobs:
update-charts:
Expand Down Expand Up @@ -135,3 +136,9 @@ jobs:
git add index.yaml
git commit index.yaml -m "Updated ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}"
git push origin gh-pages
- name: Push the chart to quay
run: |-
set -e
helm registry login -u="${{ secrets.QUAY_HELM_USER }}" -p="${{ secrets.QUAY_HELM_PASS }}" quay.io
helm push "${{ env.CHART_TGZ }}" "${QUAY_BASE_URL}"

0 comments on commit 31b7adf

Please sign in to comment.