fix(ci): use GITEA_TOKEN secret for docker login
CI / build-and-push (push) Failing after 4s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped

The github.token (automatic workflow token) in Gitea Actions
doesn't inherit packages:write permission for container registry.
Use the GITEA_TOKEN secret instead with direct docker login.

Ref: CAR-973, CAR-1009
This commit is contained in:
2026-05-24 20:38:35 +00:00
parent bb8d7f159c
commit a520a65f1b
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
- name: Log in to Gitea Container Registry
run: |
echo "${{ github.token }}" | docker login ${{ env.REGISTRY }} --username "${{ github.actor }}" --password-stdin
echo "${{ secrets.GITEA_TOKEN }}" | docker login ${{ env.REGISTRY }} --username "cs_betty" --password-stdin
- name: Extract metadata
id: meta