From 54046196fbd93ad7b57875e19610d20d9b404cb9 Mon Sep 17 00:00:00 2001 From: axtloss Date: Tue, 13 Aug 2024 20:16:55 +0200 Subject: [PATCH] fix: give full image name to compile command --- core/compile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/compile.go b/core/compile.go index f67741b..1d16fab 100644 --- a/core/compile.go +++ b/core/compile.go @@ -64,7 +64,7 @@ func compileDocker(recipe api.Recipe, gid int, uid int) error { cmd := exec.Command( docker, "build", - "-t", recipe.Id, + "-t", fmt.Sprintf("localhost/%s", recipe.Id), "-f", recipe.Containerfile, ".", ) @@ -83,7 +83,7 @@ func compilePodman(recipe api.Recipe, gid int, uid int) error { cmd := exec.Command( podman, "build", - "-t", recipe.Id, + "-t", fmt.Sprintf("localhost/%s", recipe.Id), "-f", recipe.Containerfile, ".", )