Georg K 689ba07f85
Some checks failed
Publish to helm repo / deploy (push) Failing after 3s
fix: try to checkout
2024-09-28 00:51:23 +03:00

25 lines
751 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
- name: clone repo
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}@${{gitea.sha}} --depth=0 .
- 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