This repository has been archived on 2024-07-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
chart/.gitea/workflows/release.yaml
Konstantin Grachev 4efb4218ef
Some checks failed
continuous-integration/drone/push Build is passing
Release Helm / release (push) Failing after 21s
move debug to end
2023-08-27 23:05:34 +03:00

30 lines
796 B
YAML

name: Release Helm
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
release:
runs-on: ubuntu-latest
env:
REGISTRY: harbor.grachevko.ru
steps:
- uses: actions/checkout@v3
- uses: yokawasa/action-setup-kube-tools@v0.9.3
with:
setup-tools: helm
- name: deps and lint
run: |
helm dependency update
helm lint --strict .
- name: build
run: helm package --version 0.0.0 .
- name: publish
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | helm registry login ${{ env.REGISTRY }} --username "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
helm push ./*.tgz oci://harbor.grachevko.ru/${{ gitea.repository }}
- name: debug
run: |
echo ${{ gitea }}