refac(ci): cleanup GitHub Actions
Some checks failed
Helm / helm-unittest (push) Successful in 13s
Helm / helm-lint (push) Successful in 15s
Release / publish-chart (push) Failing after 26s

This commit is contained in:
Markus Pesch 2025-06-03 21:34:02 +02:00
parent 01614570f7
commit be667bad1d
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -2,10 +2,8 @@ name: Release
on: on:
push: push:
branches: tags:
- master - "**"
# tags:
# - "**"
jobs: jobs:
publish-chart: publish-chart:
@ -22,18 +20,11 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Add Artifacthub.io annotations - name: Add Artifacthub.io annotations
run: | run: |
git tag
# git fetch --unshallow --tags --force
NEW_TAG="$(git describe --abbrev=0)" NEW_TAG="$(git describe --abbrev=0)"
OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")" OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")"
echo "Old: ${OLD_TAG}"
echo "New: ${NEW_TAG}"
.gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}" .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}"
- name: Package chart - name: Package chart