Skip to content

Commit

Permalink
fix: properly form DOCKER_REGISTRY when CI_REGISTRY defined/undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Jul 12, 2024
1 parent 2ad97ec commit bde3e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/jug/dev.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variable "BUILD_IMAGE" { default = "eic_" }
variable "BUILD_TYPE" { default = "default" }

# Variables whose defaults can be overridden on build
variable "DOCKER_REGISTRY" { default = join("/", [ CI_REGISTRY, CI_PROJECT_PATH, ""]) }
variable "DOCKER_REGISTRY" { default = join("/", concat(compact([CI_REGISTRY, CI_PROJECT_PATH]), [""])) }
variable "BUILDER_IMAGE" { default = "debian_base" }
variable "RUNTIME_IMAGE" { default = "debian_base" }

Expand Down

0 comments on commit bde3e89

Please sign in to comment.