forked from farhoodlabs/paperclip
d1e21951db
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