fix: Remove --load for docker build since we no longer pull the image for inspection
This commit is contained in:
parent
3d393ce18a
commit
a0b256015b
1 changed files with 1 additions and 9 deletions
|
|
@ -23,8 +23,7 @@ use tempdir::TempDir;
|
||||||
use crate::{
|
use crate::{
|
||||||
drivers::{
|
drivers::{
|
||||||
opts::{RunOptsEnv, RunOptsVolume},
|
opts::{RunOptsEnv, RunOptsVolume},
|
||||||
types::{InspectDriverType, Platform},
|
types::Platform,
|
||||||
Driver,
|
|
||||||
},
|
},
|
||||||
logging::CommandLogging,
|
logging::CommandLogging,
|
||||||
signal_handler::{add_cid, remove_cid, ContainerId, ContainerRuntime},
|
signal_handler::{add_cid, remove_cid, ContainerId, ContainerRuntime},
|
||||||
|
|
@ -310,13 +309,6 @@ impl BuildDriver for DockerDriver {
|
||||||
"type=image,name={first_image},push=true,compression={},oci-mediatypes=true",
|
"type=image,name={first_image},push=true,compression={},oci-mediatypes=true",
|
||||||
opts.compression
|
opts.compression
|
||||||
),
|
),
|
||||||
// Load the image to the local image registry
|
|
||||||
// if the inspect driver is docker so that
|
|
||||||
// we don't have to pull the image again to inspect.
|
|
||||||
if matches!(
|
|
||||||
Driver::get_inspect_driver(),
|
|
||||||
InspectDriverType::Docker,
|
|
||||||
) => "--load",
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
cmd!(command, "--load");
|
cmd!(command, "--load");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue