Skip to content

Don't login to registry locally for remote build: take 2#1664

Merged
djmb merged 2 commits intomainfrom
revert-1662-revert-1656-avoid-local-registry-login-for-remote-build
Oct 8, 2025
Merged

Don't login to registry locally for remote build: take 2#1664
djmb merged 2 commits intomainfrom
revert-1662-revert-1656-avoid-local-registry-login-for-remote-build

Conversation

@djmb
Copy link
Collaborator

@djmb djmb commented Oct 6, 2025

Reverts #1662

Then set BUILDKIT_NO_CLIENT_TOKEN=1 in the env for the remote build push command to allow the remote builder to push without a local login.

djmb and others added 2 commits October 6, 2025 16:04
Set BUILDKIT_NO_CLIENT_TOKEN=1 in the env for the remote build push
command to allow the remote builder to push without a local login.
@djmb
Copy link
Collaborator Author

djmb commented Oct 6, 2025

@mhenrixon - if you had a chance, I'd appreciate if you could check if this works for your remote builds?

@mhenrixon
Copy link

@mhenrixon - if you had a chance, I'd appreciate if you could check if this works for your remote builds?

I'll give it a go tonight. Will get back to you latest tomorrow morning.

Copy link

@mhenrixon mhenrixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works like a charm! Thank you Donal

Image

@djmb djmb merged commit 5bac3e6 into main Oct 8, 2025
10 checks passed
@djmb djmb deleted the revert-1662-revert-1656-avoid-local-registry-login-for-remote-build branch October 8, 2025 06:46
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.

2 participants