Only need absolute_image
This commit is contained in:
@@ -25,11 +25,7 @@ class Mrsk::Configuration
|
|||||||
end
|
end
|
||||||
|
|
||||||
def absolute_image
|
def absolute_image
|
||||||
[ config.registry["server"], image_with_version ].compact.join("/")
|
[ config.registry["server"], "#{image}:#{version}" ].compact.join("/")
|
||||||
end
|
|
||||||
|
|
||||||
def image_with_version
|
|
||||||
"#{image}:#{version}"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def service_with_version
|
def service_with_version
|
||||||
|
|||||||
Reference in New Issue
Block a user