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}