Skip to content

Commit

Permalink
ci: Publish helm chart to chart museum
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara committed Jan 11, 2024
1 parent 4d2b351 commit e8d4b3b
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Publish

on:
release:
Expand Down Expand Up @@ -56,3 +51,10 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}, ghcr.io/${{ github.repository }}:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Package and Push Chart
run: |
helm plugin install https://github.com/chartmuseum/helm-push.git
helm repo add chartmuseum https://charts.ietf.org
helm cm-push --version="${{github.event.release.tag_name | sed 's/^v//'}}" --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" helm/ chartmuseum
helm repo remove chartmuseum

0 comments on commit e8d4b3b

Please sign in to comment.