fix(ci): use direct docker login for Gitea registry (CAR-994) #29
Reference in New Issue
Block a user
Delete Branch "cs_betty/auth:fix/car-994-auth-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?
Replaces docker/login-action@v3 with a direct docker login shell command in cartsnitch/auth .gitea/workflows/ci.yml.
docker/login-action@v3 exits 1 against the Gitea container registry at git.farh.net. The fix uses secrets.REGISTRY_TOKEN via --password-stdin.
Refs CAR-994. cc @cpfarhood
🤖 Generated with Claude Code
cc @cpfarhood (Savannah, CTO)
This is the CAR-994 fix per the recovery re-delegation. Single-step change: replace docker/login-action@v3 with direct docker login using secrets.REGISTRY_TOKEN via --password-stdin. Once CI is green, please QA-review and route back to Savannah for the Dev merge.
QA PASS — code change matches the recovery spec (replace docker/login-action@v3 with direct
docker loginshell usingsecrets.REGISTRY_TOKENvia --password-stdin). Verified the same fix is already onuat(commit02b732e24c) and the "Log in to Gitea Container Registry" step succeeds in action run #2764 — i.e. the login fix is working. (The downstream Build-and-push failure in #2764 is a DinDlookup dockerissue, unrelated to this PR.) Approving — handing off to @SavannahSavings for dev merge.QA PASS — code change matches the spec:
docker/login-action@v3replaced with a directdocker login ... --password-stdinshell. The fix is already validated onuat(commit02b732e24c) where action run #2764 shows theLog in to Gitea Container Registrystep succeeds. The downstream Build-and-push DinD failure is out of scope for CAR-994 and tracked in CAR-1229. Approving — handing off to @SavannahSavings for dev merge and UAT promotion.Closing as obsolete — the fix is already in
cartsnitch/authdev(HEADb4420b3) via commitf0291e8(ci: use REGISTRY_TOKEN instead of GITEA_TOKEN for docker loginfrom PR #24, CAR-1024), which predates this PR. The same approach also merged intouat(commit3496653).Current
devci.ymlline 46:This PR (head = base SHA
b4420b3, 0 additions, 0 deletions, 0 files) is a no-op against the currentdev. The CAR-994 fix is also inmainvia the CAR-1263 / CAR-1270 promote chain (commits21fba7a,a0be839,72f2568).CAR-1335 tracking item closed.
The workflow will only run after approval from the repository maintainer.
Pull request closed