Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chart-releaser.yml #1167

Merged
merged 1 commit into from
Oct 15, 2024
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
34 changes: 0 additions & 34 deletions .github/workflows/chart-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,3 @@ jobs:
CR_KEYRING: keyring.gpg
CR_PASSPHRASE_FILE: passphrase-file.txt
CR_SIGN: true

release2chartmuseum:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: checkout Git repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Helm
uses: azure/setup-helm@v3

- name: Add Helm repository
run: helm repo add christianknell https://charts.knell.it

- name: Update dependencies
run: find charts/ ! -path charts/ -maxdepth 1 -type d -exec helm dependency update {} \;

- name: Install Helm plugin helm-push
run: helm plugin install https://github.com/chartmuseum/helm-push

- name: Push current version to Helm repository
run: |
cd charts
for chart in */;
do
cd $chart
helm cm-push --force . https://charts.knell.it
cd ..
done
env:
HELM_REPO_USERNAME: '${{ secrets.CHARTMUSEUM_USER }}'
HELM_REPO_PASSWORD: '${{ secrets.CHARTMUSEUM_PASSWORD }}'