From 1da1656f1659f0afa6c49e855728aebb4d930b48 Mon Sep 17 00:00:00 2001 From: Matthias Hinrichs Date: Sat, 9 May 2026 05:22:20 +0200 Subject: [PATCH] chore: update CI/CD workflow to use GITHUB_TOKEN instead of GITEA_TOKEN --- .gitea/workflows/cicd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/cicd.yml b/.gitea/workflows/cicd.yml index 1f348c2..d735ec8 100644 --- a/.gitea/workflows/cicd.yml +++ b/.gitea/workflows/cicd.yml @@ -51,7 +51,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta @@ -95,7 +95,7 @@ jobs: TAG_NAME=${GITHUB_REF#refs/tags/} # Fetch the current release - RELEASE_JSON=$(curl -s -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + RELEASE_JSON=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ ${{ github.api_url }}/repos/${{ github.repository }}/releases/tags/${TAG_NAME}) # Extract Release ID (if it exists) @@ -110,7 +110,7 @@ jobs: jq -n --arg body "$NEW_BODY" '{body: $body}' | \ curl -s -X PATCH \ - -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Content-Type: application/json" \ -d @- \ ${{ github.api_url }}/repos/${{ github.repository }}/releases/${RELEASE_ID}