Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path collision when using context #27

Merged
merged 2 commits into from
Sep 8, 2022
Merged

Fix path collision when using context #27

merged 2 commits into from
Sep 8, 2022

Conversation

Firehed
Copy link
Owner

@Firehed Firehed commented Sep 8, 2022

In v1.5.0, if context is provided without dockerfile, it would still run with --file Dockerfile, which does NOT match the default behavior of a Docker build. This tweaks the build args to only pass the --file argument if it was explicitly provided. Consequently, builds of a subdirectory (etc) w/out giving a path to the dockerfile should work by default.

@Firehed Firehed force-pushed the default-context-tag branch from 3afc086 to 25887ce Compare September 8, 2022 22:18
@Firehed Firehed changed the title Fix clash on default dockerfile Fix path collision when using context Sep 8, 2022
@Firehed Firehed marked this pull request as ready for review September 8, 2022 22:21
@Firehed Firehed merged commit a0cf9c2 into main Sep 8, 2022
@Firehed Firehed deleted the default-context-tag branch September 8, 2022 22:21
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