use Docker GitHub Builder to build and sign binaries and bin image#13568
Merged
ndeloof merged 2 commits intodocker:mainfrom Feb 3, 2026
Merged
use Docker GitHub Builder to build and sign binaries and bin image#13568ndeloof merged 2 commits intodocker:mainfrom
ndeloof merged 2 commits intodocker:mainfrom
Conversation
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
45cd7e3 to
3ce6653
Compare
crazy-max
commented
Feb 3, 2026
Comment on lines
+112
to
+128
| bin-image-test: | ||
| if: github.event_name == 'pull_request' | ||
| uses: docker/github-builder/.github/workflows/bake.yml@v1 | ||
| with: | ||
| runner: amd64 | ||
| target: image-cross | ||
| cache: true | ||
| cache-scope: bin-image-test | ||
| output: image | ||
| push: false | ||
| sbom: true | ||
| set-meta-labels: true | ||
| meta-images: | | ||
| compose-bin | ||
| meta-tags: | | ||
| type=ref,event=pr | ||
| meta-bake-target: meta-helper |
Member
Author
There was a problem hiding this comment.
This job is just for testing bin image job works properly on pull request event as the merge workflow doesn't have any pull request trigger atm.
crazy-max
commented
Feb 3, 2026
Comment on lines
+85
to
+104
| bin-image: | ||
| uses: docker/github-builder/.github/workflows/bake.yml@v1 | ||
| permissions: | ||
| contents: read # same as global permission | ||
| id-token: write # for signing attestation(s) with GitHub OIDC Token | ||
| with: | ||
| runner: amd64 | ||
| target: image-cross | ||
| cache: true | ||
| cache-scope: bin-image | ||
| output: image | ||
| push: ${{ github.event_name != 'pull_request' }} | ||
| sbom: true | ||
| set-meta-labels: true | ||
| meta-images: | | ||
| ${{ needs.bin-image-prepare.outputs.repo-slug }} | ||
| meta-tags: | | ||
| type=ref,event=tag | ||
| type=edge | ||
| meta-bake-target: meta-helper |
Member
Author
Member
Author
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ndeloof
reviewed
Feb 3, 2026
| target: release | ||
| output: local | ||
| sbom: true | ||
| sign: ${{ github.event_name != 'pull_request' }} |
Contributor
There was a problem hiding this comment.
nice! I was looking for a way to get this into docker/compose and eventually kill compose-private, seems we are getting closer
Member
Author
There was a problem hiding this comment.
Yes for now we should keep compose-private for notarizing darwin and windows binaries.
glours
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What I did
Similar to what we did in Buildx repo:
Switch to our Docker GitHub Builder to build and sign binaries and bin image.
For binaries, the sigstore bundle will be upload as asset to the GitHub Release. For the bin image the signature is an OCI artifact.