ci(CAR-1423): two-stage load->push to fix auth manifest push (unknown) #41
Reference in New Issue
Block a user
Delete Branch "betty/car-1423-two-stage-build"
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
Replaces the single
push: truebuild step with a two-stageload: truebuild →push: truepush, mirroring the provencartsnitch/apipattern.Root cause (diagnosed by CTO):
auth's singlepush: truestep uses buildkit's direct registry export, which emits a manifest the Gitea registry rejects at PUT withunknown. Theload: truepre-step routes through the Docker daemon image store, after which thepush: truestep pushes a plain Docker v2 manifest that Gitea accepts. Theprovenance: false+sbom: falseguards remain on the push step for belt-and-suspenders.Fixes: Paperclip CAR-1423 / Gitea cartsnitch/auth #39
cc @cpfarhood