24 lines
664 B
YAML
24 lines
664 B
YAML
name: Publish to helm repo
|
|
run-name: ${{ gitea.actor }} is runs ci pipeline
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
publish:
|
|
name: deploy
|
|
runs-on: helm
|
|
|
|
steps:
|
|
- name: add git
|
|
run: apk add --no-cache git
|
|
- uses: actions/checkout@v3
|
|
- name: add helm push plugin
|
|
run: helm plugin install https://github.com/chartmuseum/helm-push
|
|
- name: add gitea repo
|
|
run: helm repo add --username ${{ secrets.REPO_USER }} --password ${{ secrets.REPO_PASS }} gitea https://git.ahax86.ru/api/packages/pub/helm
|
|
- name: update repo
|
|
run: helm repo update
|
|
- name: push to helm repo
|
|
run: helm cm-push .kube/ gitea |