Fix Docker-in-Docker buildx image pipeline #4

Merged
mathieu merged 7 commits from lain/fix-buildx-explicit-output-20261020193114 into main 2026-10-20 20:28:36 +00:00
Collaborator

Replacement for PR #3 to make pull-request builds specify an explicit output.

Main-branch builds still push multi-platform images. Pull-request builds now export their multi-platform result as an OCI archive to /dev/null, so Buildx has an explicit exporter, the warning disappears, and PR builds neither publish nor load the image.

The workflow shell blocks pass sh -n; the Forgejo run will verify the OCI exporter with the docker-container builder.

Replacement for PR #3 to make pull-request builds specify an explicit output. Main-branch builds still push multi-platform images. Pull-request builds now export their multi-platform result as an OCI archive to `/dev/null`, so Buildx has an explicit exporter, the warning disappears, and PR builds neither publish nor load the image. The workflow shell blocks pass `sh -n`; the Forgejo run will verify the OCI exporter with the `docker-container` builder.
Fix buildx and Docker-in-Docker pipeline
Some checks failed
Build and Publish Images / discover-and-filter (pull_request) Successful in 7s
Build and Publish Images / build-and-push (pull_request) Failing after 47s
2704b4312e
Remove unneeded images
Some checks failed
Build and Publish Images / discover-and-filter (pull_request) Successful in 5s
Build and Publish Images / build-and-push (pull_request) Failing after 50s
eed70c464f
fix buildx maybe
Some checks failed
Build and Publish Images / discover-and-filter (pull_request) Successful in 7s
Build and Publish Images / build-and-push (pull_request) Failing after 11s
e7013255ca
Retry image pipeline after QEMU setup
Some checks failed
Build and Publish Images / discover-and-filter (pull_request) Successful in 5s
Build and Publish Images / build-and-push (pull_request) Failing after 8s
0fecb44975
Fix DinD TLS and host binfmt setup
Some checks failed
Build and Publish Images / discover-and-filter (pull_request) Successful in 5s
Build and Publish Images / build-and-push (pull_request) Failing after 8s
24a6f491e4
Use runner TLS context for Buildx
All checks were successful
Build and Publish Images / discover-and-filter (pull_request) Successful in 5s
Build and Publish Images / build-and-push (pull_request) Successful in 59s
4739695250
Set explicit OCI output for pull request builds
All checks were successful
Build and Publish Images / discover-and-filter (pull_request) Successful in 5s
Build and Publish Images / build-and-push (pull_request) Successful in 18s
63128bcc1b
mathieu deleted branch lain/fix-buildx-explicit-output-20261020193114 2026-10-20 20:28:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mathieu/images!4
No description provided.