From 07d471bae5f866787335218a4a991243a30eec7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Fr=C4=85tczak?= Date: Mon, 6 Nov 2023 17:46:06 +0100 Subject: [PATCH] add action to deploy --- workflows/publish.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 workflows/publish.yaml 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