fix(ci): replace docker/login-action with direct docker login (CAR-994) #22
Reference in New Issue
Block a user
Delete Branch "car-994-fix-docker-login"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CAR-994: Fix docker login for Gitea Container Registry
The
docker/login-action@v3does not work with Gitea's token — it exits code 1 ondocker login git.farh.net.Change
Replaced the action with a direct
docker logincommand using${{ github.token }}(automatic Gitea Actions token).Testing
Once merged, the CI build-and-push job should successfully log in and push images to
git.farh.net/cartsnitch/auth.Co-Authored-By: Paperclip noreply@paperclip.ing
The docker/login-action@v3 does not work with Gitea's token. Replaced with direct docker login command using ${{ github.token }}. Co-Authored-By: Paperclip <noreply@paperclip.ing>Pull request closed