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 0173b0a368
Some checks failed
continuous-integration/drone/push Build is passing
Release Helm / release (push) Failing after 20s
Revert "escape dollar"
This reverts commit ebaa5ae39b.
2023-08-27 22:24:44 +03:00

24 lines
745 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_USERNAME }}"
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 }}