library-chart/.gitea/workflows/publish.yaml

24 lines
790 B
YAML
Raw Normal View History

2023-11-05 14:48:22 +00:00
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-22.04:docker://node:18-bullseye
steps:
- name: Check out repository code
uses: actions/checkout@v4
2023-11-05 16:11:04 +00:00
# - name: Install helm
# uses: azure/setup-helm@v3
# - name: Install cm-push
2023-11-05 16:00:54 +00:00
# run: |
2023-11-05 16:11:04 +00:00
# helm plugin install https://github.com/chartmuseum/helm-push
- name: Push Helm Chart to Gitea Registry
2023-11-05 16:00:54 +00:00
uses: bsord/helm-push@v4.1.0
with:
2023-11-05 16:11:04 +00:00
username: ${{ secrets.USERNAME }}
2023-11-05 16:00:54 +00:00
password: ${{ secrets.PUBLIC_PACKAGE_WRITE }}
registry-url: 'https://teapot.octopusx.de/api/packages/octocloudlab/helm'
force: true
chart-folder: chart