fix(ci): disable provenance attestation in docker check to avoid manifest-tag collision #267
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/bunyip!267
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-241-disable-provenance-in-docker-check"
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?
BUNYIP-241: the
Docker builder stagestep in check.yml has been failing on PRs withimage "docker.io/library/bunyip-api-builder:check": already existsAFTER the build itself succeeded. The cause is buildkit's default-on provenance / SBOM attestation: the exporter emits both an image manifest and an attestation manifest list and names BOTH under the requested tag, which collides inside the same run after the firstnaming to ... done. BUNYIP-231'sdocker image rmonly clears cross-run leftover state and so does not address this.The check step does not consume the resulting image (the only assertion that runs against it is the in-Dockerfile binary-size sanity check during the build itself), so the provenance attestation is not load-bearing here.
--provenance=falsecollapses the export to a single manifest with no observable downside, and the BUNYIP-231 image-rm guard stays for cross-run protection.#BUNYIP-241