Skip to content

Commit

Permalink
fix: use docker instead of podman
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Jun 9, 2023
1 parent 8f94dec commit 9b084d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ops/stage_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func RunStage(cfg config.Config, stageCtx *context.Context, stage schema.StageCo
if err != nil {
panic(err)
}
cmd = exec.Command("podman",
cmd = exec.Command("docker",
"run", "--rm", "--entrypoint=sh",
"-v", fmt.Sprintf("%s:%s:Z", cwd, "/workspace"),
"-v", tempTargetRunDir+":/workspace.togomak.scripts:Z",
Expand Down Expand Up @@ -241,7 +241,7 @@ func RunStage(cfg config.Config, stageCtx *context.Context, stage schema.StageCo
"-w", "/workspace",
stage.Container}

cmd = exec.Command("podman",
cmd = exec.Command("docker",
append(dockerArgs, newArgs...)...)
}

Expand Down

0 comments on commit 9b084d8

Please sign in to comment.