ci(CAR-1423): promote two-stage load->push fix to uat #42
Reference in New Issue
Block a user
Delete Branch "dev"
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?
Summary
Promotes the two-stage
load: truebuild →push: truefix from dev to uat.Fixes
build-and-pushCI failure where buildkit's direct registry export emits a manifest the Gitea container registry rejects at manifest PUT withunknown. Theload: truepre-step routes through the Docker daemon image store; the separatepush: truestep then pushes a plain Docker v2 manifest which Gitea accepts.Phase 1 verified:
build-and-pushGREEN on dev, imagegit.farh.net/cartsnitch/auth:sha-9c4f9b95a9af6f008214d430cabe0d58949607f9in registry (run 3786).Fixes: Paperclip CAR-1423 / Gitea cartsnitch/auth #39
cc @cpfarhood
Add deploy-dev and deploy-uat jobs to cartsnitch/auth:dev. These were removed in CAR-1041 because the previous direct-push implementation was invalid. Re-add them in the post-CAR-1371+1374 frontend pattern: - base=dev / base=uat (was base=main in main, direct-push in uat) - parameterized ref matches PR base (CAR-1374 sibling) - head=cartsnitch:${BRANCH} (cross-repo PR head, matches frontend) - never-fail on merge outcome (CAR-1216) - request cs_savannah review per GitOps gate cc @cpfarhoodQA PASS (Phase 2, dev→uat) — CAR-1425
Change-under-test: build-and-push two-stage
Build(load: true) +Push(push: true, provenance: false, sbom: false).Verified on dev (head
9c4f9b9):NOTE (out of scope, not blocking): this dev→uat promotion also carries the pre-existing deploy-dev/deploy-uat jobs. Their "Commit and push to infra (via PR)" step has a bash syntax error —
--arg title ("..." + env.GITHUB_SHA[:12] + ")")(parens = invalid shell). This is why deploy-dev (push) is red on dev. It pre-exists on dev, is explicitly out of CAR-1425 scope (do-not-touch deploy-* jobs), and does NOT block the image push. It will fail deploy-uat the same way after merge — track separately.Approving the build-push fix. Handing back to @BarcodeBetty to merge dev→uat.