3 Commits

Author SHA1 Message Date
3601dbf835 chore(deps): update yokawasa/action-setup-kube-tools action to v0.11.1 2024-06-27 21:42:35 +00:00
f4f3a23905 Add renovate.json 2023-09-01 22:23:55 +00:00
58f359047f feat: change drone to gitea actions
All checks were successful
Release Chart / release (push) Successful in 12s
2023-08-28 01:07:35 +03:00
3 changed files with 32 additions and 22 deletions

View File

@ -1,22 +0,0 @@
---
kind: pipeline
type: docker
name: default
trigger:
event:
- push
- tag
steps:
- name: release
image: cr.grachevko.ru/drone/helm:24
settings:
tag: ${DRONE_TAG}
username:
from_secret: HELM_REPO_USERNAME
password:
from_secret: HELM_REPO_PASSWORD
when:
event:
- tag

View File

@ -0,0 +1,29 @@
name: Release Chart
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
env:
REGISTRY: harbor.grachevko.ru
steps:
- uses: actions/checkout@v3
- uses: yokawasa/action-setup-kube-tools@v0.11.1
with:
setup-tools: helm
- name: deps and lint
run: |
helm dependency update
helm lint --strict .
- name: build
run: helm package --version ${{ gitea.ref_name }} .
- 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 }}

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}