CI: build-and-push fails pushing to Gitea registry — disable provenance/SBOM attestations (CAR-1423) #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
build-and-pushin.gitea/workflows/ci.ymlfails on every push touat/mainsince 2026-06-12 (1233d80c). Docker login succeeds; the push fails.Root cause (CTO diagnosis)
The build itself succeeds.
docker/build-push-action@v6defaults to generating provenance/SBOM attestations. On the DinD daemon (containerd image store) this produces an OCI image index + attestation manifest, which the Gitea container registry rejects at push time:cartsnitch/apiavoids this because its build job loads the image first (load: true) before pushing;authdoes a singlepush: truebuild, so the attestation index is generated and pushed.Fix
Add
provenance: falseandsbom: falseto theBuild and push Docker imagestep so a single plain manifest is pushed.Acceptance
build-and-pushpasses; image pushed togit.farh.net/cartsnitch/auth.Tracks Paperclip CAR-1423. Blocks CAR-1254.
cc @cpfarhood