Skip to content

Merge pull request #1 from Intreecom/feature/pgbouncer #2

Merge pull request #1 from Intreecom/feature/pgbouncer

Merge pull request #1 from Intreecom/feature/pgbouncer #2

Workflow file for this run

name: Releasing charts
on:
push:
branches:
- main
- master
jobs:
upload_helm:
runs-on: ubuntu-latest
strategy:
matrix:
chart:
- py-app
- pgbouncer
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v4.2.0
with:
version: latest
- name: Build Helm chart
run: |
helm package --dependency-update ./charts/${{ matrix.chart }}
helm show chart *.tgz
helm registry login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
helm push *.tgz oci://ghcr.io/intreecom/charts
env:
HELM_EXPERIMENTAL_OCI: 1