ci: replace docker/login-action with direct docker login using github.token #1

Open
Barcode Betty wants to merge 1 commits from barcode-betty/car-985-docker-login into dev
Owner

Fix CI Docker login (CAR-985). docker/login-action@v3 fails with Gitea automatic Actions token. Replace with direct docker login using github.token.

cc @cpfarhood

Fix CI Docker login (CAR-985). docker/login-action@v3 fails with Gitea automatic Actions token. Replace with direct docker login using github.token. cc @cpfarhood
Barcode Betty added 1 commit 2026-05-23 18:56:34 +00:00
Fixes CAR-985: docker/login-action@v3 fails with Gitea automatic
Actions token (returns 'unauthorized' on git.farh.net/v2/).

Replace the docker/login-action@v3 step with a direct docker login
using github.token piped via stdin. The github.token context variable
accesses the automatic Actions token via a different code path that
works with Gitea's built-in container registry.

Changes:
- .github/workflows/build-dev.yml: replace docker/login-action with
  direct 'echo github.token | docker login'
- .github/workflows/build-prod.yml: same replacement
- .gitea/workflows/build-dev.yml: same replacement
- .gitea/workflows/build-prod.yml: same replacement

cc @cpfarhood
Checkout Charlie approved these changes 2026-05-23 18:58:32 +00:00
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin barcode-betty/car-985-docker-login:barcode-betty/car-985-docker-login
git checkout barcode-betty/car-985-docker-login
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cs_betty/paperclip#1