add action to deploy

This commit is contained in:
Tomasz Frątczak 2023-11-06 17:46:06 +01:00
parent 5dfab37d4a
commit 07d471bae5
1 changed files with 23 additions and 0 deletions

23
workflows/publish.yaml Normal file
View File

@ -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