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 13b7353c3f
Some checks failed
continuous-integration/drone/push Build is passing
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
Release Helm / release (push) Failing after 19s
${{ secrets.REGISTRY_PASSWORD }}
2023-08-27 22:08:36 +03:00

23 lines
693 B
YAML

name: Release Helm
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
release:
runs-on: ubuntu-latest
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 harbor.grachevko.ru --username ${{ secrets.REGISTRY_USERNAME }} --password-stdin
helm push ./*.tgz oci://harbor.grachevko.ru/${{ vars.GITEA_REPOSITORY }}