Files
charts/.gitea/workflows/release.yaml
Pavel Kirilin a8a206e5d4
All checks were successful
Releasing charts / upload_helm (pgbouncer) (push) Successful in 24s
Releasing charts / upload_helm (py-app) (push) Successful in 14s
Initial commit.
2025-07-08 04:10:26 +02:00

30 lines
701 B
YAML

name: Releasing charts
on:
push:
branches:
- main
- master
jobs:
upload_helm:
runs-on: ubuntu-latest
strategy:
matrix:
chart:
- py-app
- pgbouncer
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 ${{ gitea.actor }} -p ${{ secrets.UPLOADER_PAT }} gitea.le-memese.com
helm push *.tgz oci://gitea.le-memese.com/common/charts
env:
HELM_EXPERIMENTAL_OCI: 1