Change publish-docker again
All checks were successful
Publish release zip / build (push) Successful in 56s
Publish Docker image / Build and push Docker image to Gitea Registry (push) Successful in 3m23s

This commit is contained in:
sim0n00ps 2025-05-05 00:33:56 +01:00
parent 530157bc85
commit 0eb2a6dbeb

View File

@ -11,17 +11,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Extract tag and version - name: Extract tag name and version
id: version id: version
run: | run: |
TAG="${{ gitea.ref##refs/tags/ }}" FULL_REF="${{ gitea.ref }}"
TAG="${FULL_REF##refs/tags/}"
VERSION="${TAG#OFDLV}" VERSION="${TAG#OFDLV}"
if [[ -z "$VERSION" ]]; then
echo "::error::Could not extract version from tag '$TAG'"
exit 1
fi
echo "Tag: $TAG" echo "Tag: $TAG"
echo "Version: $VERSION" echo "Version: $VERSION"
echo "tag=$TAG" >> "$GITEA_OUTPUT" echo "tag=$TAG" >> "$GITEA_OUTPUT"