Skip to content

Commit

Permalink
fix: allow images without variables defined to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gągor committed Dec 19, 2024
1 parent 96dcc6e commit 63ab753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func getCombinationString(configSet map[string]interface{}) string {

func getDockerfilePath(dockerFileTemplate string, image string, configSet map[string]interface{}) string {
dirname := filepath.Dir(dockerFileTemplate)
filename := image + "-" + getCombinationString(configSet) + ".Dockerfile"
filename := strings.Join([]string{image, getCombinationString(configSet) + ".Dockerfile"}, "-")
return filepath.Join(dirname, sanitizeForFileName(filename))
}

Expand Down

0 comments on commit 63ab753

Please sign in to comment.