Skip to content

build/binary: support direct server-side push from BuildKit#1848

Open
htr wants to merge 1 commit into
mainfrom
htr-build-binary-direct-push
Open

build/binary: support direct server-side push from BuildKit#1848
htr wants to merge 1 commit into
mainfrom
htr-build-binary-direct-push

Conversation

@htr

@htr htr commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Add a --push_directly flag to 'ns build-binary' that lets the BuildKit builder push the resulting image straight to the target repository server-side, skipping the round-trip through the client. Plumb a PublishName through BuildImageOpts and the build pipeline, and mark annotate/merge/index results as non-cacheable when destined for a registry to avoid pulling every layer into the local content cache.

Add a --push_directly flag to 'ns build-binary' that lets the BuildKit
builder push the resulting image straight to the target repository
server-side, skipping the round-trip through the client. Plumb a
PublishName through BuildImageOpts and the build pipeline, and mark
annotate/merge/index results as non-cacheable when destined for a
registry to avoid pulling every layer into the local content cache.

Co-authored-by: Amp <amp@ampcode.com>
@htr
htr force-pushed the htr-build-binary-direct-push branch from cd9ee67 to a6e469b Compare June 25, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant