Check only if package image exists

We don't need to look after the builder image as its optional. In this
way we can also reduce the compiler options, as we don't require a
--clean flag anymore. --only-target-package is sufficient to determine
what we can skip and how.
This commit is contained in:
Ettore Di Giacinto
2020-12-14 18:41:39 +01:00
parent ef034d87b0
commit 70f05f41e8
3 changed files with 4 additions and 11 deletions

View File

@@ -49,7 +49,6 @@ type CompilerOptions struct {
PullFirst, KeepImg, Push bool
Concurrency int
CompressionType CompressionImplementation
Clean bool
KeepImageExport bool
OnlyDeps bool
@@ -68,7 +67,6 @@ func NewDefaultCompilerOptions() *CompilerOptions {
CompressionType: None,
KeepImg: true,
Concurrency: runtime.NumCPU(),
Clean: true,
OnlyDeps: false,
NoDeps: false,
}