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 combination of --pull always --no-build #11244

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Dec 4, 2023

What I did
initial implementation of --no-build was based on mutating the project to drop build section. As either image or build section are required we inferred local image name. This then impacts --pull always as such an image is just a local name.

hopefully the code already had explicit support for createOptions.noBuild so the impact here are minimal

Related issue
fixes #11236

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM

@ndeloof ndeloof enabled auto-merge (rebase) December 4, 2023 10:02
@ndeloof ndeloof merged commit ce1ddb6 into docker:main Dec 4, 2023
24 checks passed
@ndeloof ndeloof deleted the no-build-pull-always branch December 4, 2023 10:10
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.

[BUG] Using up --pull always in combination with --no-build results in unexpected behaviour
2 participants