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

1 Commits

Author SHA1 Message Date
Barcode Betty d1e21951db ci: replace docker/login-action with direct docker login using github.token
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
2026-05-23 18:55:14 +00:00