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 f56b43448e
Some checks failed
continuous-integration/drone/push Build is passing
Release Helm / release (push) Failing after 20s
debug vars
2023-08-27 22:26:09 +03:00

24 lines
739 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 ${{ vars.GITEA_REPOSITORY }}
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 }}