-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bib: fix injecting default "build" arg into root for flags like --local
In PR#608 we dropped the container entrypoint and moved the logic to detect what command to run into the cobra parsing. However it seems certain situations like: ``` bootc-image-builder --type qcow2 --tls-verify=true --local quay.io/centos-bootc/centos-bootc:stream10 ``` are not detected correctly (thanka to Chunfu Wen for reporting!). This commit detect this usage and injects the build arg then too. Closes #614
- Loading branch information
1 parent
dcd8831
commit 8f80115
Showing
3 changed files
with
95 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters