32 lines
1023 B
YAML
32 lines
1023 B
YAML
name: Publishing Charts
|
|
run-name: Publishing Helm Charts to the Teapot Registry
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "charts/**"
|
|
jobs:
|
|
Publilsh-Charts:
|
|
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: charts/refact
|
|
- 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: charts/linkwarden
|