chore(ci): use actions/checkout to fetch tags
Some checks failed
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 13s
Release / publish-chart (push) Failing after 15s

This commit is contained in:
Markus Pesch 2025-06-03 21:26:55 +02:00
parent 2740175246
commit 6de5e9aa48
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -2,8 +2,10 @@ name: Release
on:
push:
tags:
- "**"
branches:
- master
# tags:
# - "**"
jobs:
publish-chart:
@ -17,10 +19,14 @@ jobs:
apk add git npm yq
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add Artifacthub.io annotations
run: |
git fetch --unshallow --tags --force
git tag
# git fetch --unshallow --tags --force
NEW_TAG="$(git describe --abbrev=0)"
OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")"