Initial commit.
This commit is contained in:
29
.gitea/workflows/release.yaml
Normal file
29
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
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
|
Reference in New Issue
Block a user