adding gitea actions
All checks were successful
ci / Publish Charts (push) Has been skipped

This commit is contained in:
Andy Pack 2024-07-21 11:15:30 +01:00
parent 3aee1420bc
commit 61afb3d0a5
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

27
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,27 @@
name: ci
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
name: Publish Charts
if: gitea.event_name == 'push' && (gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags/'))
steps:
- uses: actions/checkout@v4
with:
github-server-url: https://gitea.sheep-ghoul.ts.net
- uses: azure/setup-helm@v4.2.0
- name: Login to Repo
run: helm registry login -u ${{ secrets.REPO_USERNAME }} -p ${{ secrets.REPO_TOKEN }} gitea.sheep-ghoul.ts.net
- name: Package Chart
run: helm package charts/selector
- name: Push Chart
run: helm push Selector-0.0.1.tgz oci://gitea.sheep-ghoul.ts.net/sarsoo