Skip to content

Move docker login into build command#1506

Merged
djmb merged 1 commit intomainfrom
registry-login-on-push-and-pull
Apr 18, 2025
Merged

Move docker login into build command#1506
djmb merged 1 commit intomainfrom
registry-login-on-push-and-pull

Conversation

@djmb
Copy link
Collaborator

@djmb djmb commented Apr 18, 2025

We only need to run the docker login commands for pushing and pulling images.

So let's move the logins into those commands. This ensures we are logged in when calling kamal build commands directly.

Fixes: #919

We only need to run the docker login commands for pushing and pulling
images.

So let's move the logins into those commands. This ensures we are logged
in when calling `kamal build` commands directly.

Fixes: #919
@djmb djmb force-pushed the registry-login-on-push-and-pull branch from c917c92 to 098c937 Compare April 18, 2025 08:57
@djmb djmb merged commit 05f04f4 into main Apr 18, 2025
10 checks passed
@djmb djmb deleted the registry-login-on-push-and-pull branch April 18, 2025 09:56
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.

kamal build push fails Docker Hub auth with macOS alias

1 participant