Skip to content

feat: Add compose build command#72

Merged
Mcrich23 merged 3 commits intoMcrich23:mainfrom
Luke-Parkin:feat/compose-build
Apr 21, 2026
Merged

feat: Add compose build command#72
Mcrich23 merged 3 commits intoMcrich23:mainfrom
Luke-Parkin:feat/compose-build

Conversation

@Luke-Parkin
Copy link
Copy Markdown
Contributor

To align closer with docker/alternatives, add a compose build command which builds images but does not launch containers.

Copy link
Copy Markdown
Owner

@Mcrich23 Mcrich23 left a comment

Choose a reason for hiding this comment

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

Hi @Luke-Parkin, thank you so much for patiently waiting for me to review this. Everything looks really good, but there's one thing regarding logging that needs to get fixed before I can merge it. Can you please take a look at my comment?


print("\n----------------------------------------")
print("Building \(serviceName) -> \(imageTag)")
let buildCommand = try Application.BuildCommand.parse(commands)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can you please also have it pass down the logging flags to respect user decisions?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The reason why we're on a fork instead of directly tracking main is to include a macro for this. Take a look at ComposeUp for more info.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hope that's what you're looking for! Thanks for the review.

@Mcrich23 Mcrich23 merged commit e9aca7a into Mcrich23:main Apr 21, 2026
0 of 2 checks passed
@Luke-Parkin Luke-Parkin deleted the feat/compose-build branch April 21, 2026 18:26
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