lib/command/run.rb in cpl-1.0.3 vs lib/command/run.rb in cpl-1.0.4
- old
+ new
@@ -98,10 +98,10 @@
spec["defaultOptions"]["capacityAI"] = false
# Override image if specified
image = config.options[:image]
image = latest_image if image == "latest"
- container_spec["image"] = "/org/#{config.org}/image/#{image}"
+ container_spec["image"] = "/org/#{config.org}/image/#{image}" if image
# Set runner
container_spec["env"] ||= []
container_spec["env"] << { "name" => "CONTROLPLANE_RUNNER", "value" => runner_script }