Skip to content

Commit

Permalink
fix: give full image name to compile command
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Aug 13, 2024
1 parent 1d23da6 commit 5404619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
".",
)
Expand All @@ -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,
".",
)
Expand Down

0 comments on commit 5404619

Please sign in to comment.