Promote to info building image messages

The user wants to know whats going on in this case. Image builds can
take up also long time
This commit is contained in:
Ettore Di Giacinto
2021-01-24 19:09:08 +01:00
parent 6f5f400765
commit 85b5c96bdd
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ func (*SimpleDocker) BuildImage(opts compiler.CompilerBackendOptions) error {
} }
buildarg := []string{"build", "-f", dockerfileName, "-t", name, context} buildarg := []string{"build", "-f", dockerfileName, "-t", name, context}
Debug(":whale2: Building image " + name) Info(":whale2: Building image " + name)
cmd := exec.Command("docker", buildarg...) cmd := exec.Command("docker", buildarg...)
cmd.Dir = path cmd.Dir = path
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()

View File

@@ -46,7 +46,7 @@ func (*SimpleImg) BuildImage(opts compiler.CompilerBackendOptions) error {
buildarg := []string{"build", "-f", dockerfileName, "-t", name, context} buildarg := []string{"build", "-f", dockerfileName, "-t", name, context}
Spinner(22) Spinner(22)
defer SpinnerStop() defer SpinnerStop()
Debug(":tea: Building image " + name) Info(":tea: Building image " + name)
cmd := exec.Command("img", buildarg...) cmd := exec.Command("img", buildarg...)
cmd.Dir = path cmd.Dir = path
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()