Skip to content

Commit e186713

Browse files
committed
fix sanitising of image name
1 parent 9bcc95f commit e186713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packer/openstack.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ locals {
2424
git_commit = data.git-commit.cwd-head.hash
2525
timestamp = formatdate("YYMMDD-hhmm", timestamp())
2626
image_version = var.image_version == "auto" ? "${local.timestamp}-${substr(local.git_commit, 0, 8)}" : var.image_version
27-
image_name = replace(var.image_name, '/', '-')
27+
image_name = replace(var.image_name, "/", "-")
2828
}
2929

3030
# Path pointing to root of repository - automatically set by environment variable PKR_VAR_repo_root

0 commit comments

Comments
 (0)