diff --git a/workflows/publish.yaml b/workflows/publish.yaml new file mode 100644 index 0000000..610a918 --- /dev/null +++ b/workflows/publish.yaml @@ -0,0 +1,23 @@ +name: Publishing Charts +run-name: Publishing Helm Charts to the Teapot Registry +on: + workflow_dispatch: + push: + branches: + - main + paths: + - "charts/**" +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-22.04:docker://node:18-bullseye + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Push Helm Chart to Gitea Registry + uses: bsord/helm-push@v4.1.0 + with: + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PUBLIC_PACKAGE_WRITE }} + registry-url: 'https://teapot.octopusx.de/api/packages/octocloudlab/helm' + force: true + chart-folder: chart