You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
860 B

  1. name: Helm Chart CI
  2. on:
  3. # Triggers the workflow on push or pull request events but only for the dev branch
  4. push:
  5. branches: [ main ]
  6. paths: [ dev/helm/** ]
  7. # Allows you to run this workflow manually from the Actions tab
  8. workflow_dispatch:
  9. jobs:
  10. build:
  11. name: Update Chart
  12. runs-on: ubuntu-latest
  13. steps:
  14. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  15. - uses: actions/checkout@v2
  16. - name: Package and Push Chart
  17. run: |
  18. helm plugin install https://github.com/chartmuseum/helm-push.git
  19. helm repo add chartmuseum https://charts.js.wiki
  20. helm cm-push --version="2.2.${{github.run_number}}" --username="${{secrets.HELM_REPO_USERNAME}}" --password="${{secrets.HELM_REPO_PASSWORD}}" dev/helm/ chartmuseum
  21. helm repo remove chartmuseum