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 4da36d8fec
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 20s
build and push
2023-08-27 22:05:43 +03:00

23 lines
680 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: |
helm registry login harbor.grachevko.ru --username ${{ secrets.REGISTRY_USERNAME }} --password ${{ secrets.REGISTRY_PASSWORD }}
helm push ./*.tgz oci://harbor.grachevko.ru/${{ vars.GITEA_REPOSITORY }}