From fb36038cc805addadc3e9a5fffd5342eb7c641a9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 29 Jun 2026 19:08:27 +0200 Subject: [PATCH] Fix release workflow tag reference - Use gitea.ref_name directly for tag - Hardcode username as sansan - Remove version extraction step Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .gitea/workflows/release.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 534cf82..a34fadb 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -26,17 +26,9 @@ jobs: uses: docker/login-action@v3 with: registry: gitea.sanplex.xyz - username: ${{ gitea.repository_owner }} + username: sansan password: ${{ secrets.TOKEN }} - - name: Extract version from tag - id: meta - run: | - TAG=${GITEA_REF#refs/tags/} - VERSION=${TAG#v} - echo "TAG=$TAG" >> $GITHUB_OUTPUT - echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - - name: Build and push multi-arch image uses: docker/build-push-action@v5 with: @@ -45,8 +37,7 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - gitea.sanplex.xyz/sansan/musicfrontend:${{ steps.meta.outputs.VERSION }} - gitea.sanplex.xyz/sansan/musicfrontend:${{ steps.meta.outputs.TAG }} + gitea.sanplex.xyz/sansan/musicfrontend:${{ gitea.ref_name }} gitea.sanplex.xyz/sansan/musicfrontend:latest cache-from: type=gha cache-to: type=gha,mode=max