Skip to content

Commit 5404619

Browse files
committed
fix: give full image name to compile command
1 parent 1d23da6 commit 5404619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/compile.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func compileDocker(recipe api.Recipe, gid int, uid int) error {
6464

6565
cmd := exec.Command(
6666
docker, "build",
67-
"-t", recipe.Id,
67+
"-t", fmt.Sprintf("localhost/%s", recipe.Id),
6868
"-f", recipe.Containerfile,
6969
".",
7070
)
@@ -83,7 +83,7 @@ func compilePodman(recipe api.Recipe, gid int, uid int) error {
8383

8484
cmd := exec.Command(
8585
podman, "build",
86-
"-t", recipe.Id,
86+
"-t", fmt.Sprintf("localhost/%s", recipe.Id),
8787
"-f", recipe.Containerfile,
8888
".",
8989
)

0 commit comments

Comments
 (0)