Merge pull request #2646 from giuseppe/fix-build-order

build: fix build DIR -t TAG
This commit is contained in:
OpenShift Merge Robot 2019-03-15 07:01:37 -07:00 committed by GitHub
commit a73814cc67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func init() {
buildCommand.SetHelpTemplate(HelpTemplate())
buildCommand.SetUsageTemplate(UsageTemplate())
flags := buildCommand.Flags()
flags.SetInterspersed(false)
flags.SetInterspersed(true)
budFlags := buildahcli.GetBudFlags(&budFlagsValues)
flag := budFlags.Lookup("pull")

View File

@ -33,6 +33,13 @@ echo ########################################################
podman images -q
echo ########################################################
echo test "build directory before other options create a tag"
echo ########################################################
TARGET=tagged-image
podman build $HOME/test/build/from-scratch --quiet=True -t $TARGET
podman images | grep tagged-image
echo ########################################################
echo test "build-preserve-subvolumes"
echo ########################################################