Skip to content

Changing push action a bit #6

Changing push action a bit

Changing push action a bit #6

Workflow file for this run

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/[email protected]
- 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
env:
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: helm registry login ghcr.io -u ${{ github.actor }} -p "$env:REGISTRY_PASSWORD"
- name: Push Sentry chart
run: helm push sentry-${{ env.VERSION }}.tgz oci://ghcr.io/kpn