Skip to content

Redirect buildx build output to stdout#1515

Merged
djmb merged 1 commit intomainfrom
build-green-output
Apr 21, 2025
Merged

Redirect buildx build output to stdout#1515
djmb merged 1 commit intomainfrom
build-green-output

Conversation

@djmb
Copy link
Collaborator

@djmb djmb commented Apr 21, 2025

Docker buildx build outputs the build logs to stderr by default. SSHKit displays stderr logs in red, which can suggest that an error has occurred.

Redirect the output to stdout, so it shows in green. If there is an error, the output will be repeated in red anyway.

Fixes: #1356

Docker buildx build outputs the build logs to stderr by default.
SSHKit displays stderr logs in red, which can suggest that an error has
occurred.

Redirect the output to stdout, so it shows in green. If there is an
error, the output will be repeated in red anyway.

Fixes: #1356
@djmb djmb merged commit f898fb8 into main Apr 21, 2025
10 checks passed
@djmb djmb deleted the build-green-output branch April 21, 2025 09:48
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.

Change RED COLOR to something else for kamal deploy screen logs

1 participant