Skip to content

Commit

Permalink
Only apply the default image if the command line image is not specifi…
Browse files Browse the repository at this point in the history
…ed (#68)

* Only apply the default image if the command line image is not specified

* Publish a new version
  • Loading branch information
ray-milkey authored May 11, 2023
1 parent e6d1857 commit f5e1c42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.5-dev
1.1.5
4 changes: 3 additions & 1 deletion internal/cli/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ func runTestCommand(cmd *cobra.Command, args []string) error {
step.Start()
executable = filepath.Join(os.TempDir(), "helmit", testID)
defer os.RemoveAll(executable)
image = defaultRunnerImage
if image == "" {
image = defaultRunnerImage
}
if err := build.Tests(step, suites...).Build(executable, pkgPaths...); err != nil {
step.Fail(err)
return err
Expand Down

0 comments on commit f5e1c42

Please sign in to comment.