Changing push action a bit #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push Chart | |
on: | |
push: | |
branches: | |
- 'stable' | |
env: | |
VERSION: 1.2.3 | |
jobs: | |
build-push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: azure/setup-helm@v4.2.0 | |
- name: Build Clickhouse chart | |
run: helm package charts/clickhouse --version ${{ env.VERSION }} | |
- name: Build Sentry-Kubernetes chart | |
run: helm package charts/sentry-kubernetes --version ${{ env.VERSION }} | |
- name: Build Sentry chart | |
run: helm package charts/sentry -u --version ${{ env.VERSION }} | |
- name: Login into registry | |
run: helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} | |
- name: Push Sentry chart | |
run: helm push sentry-${{ env.VERSION }}.tgz |