Run boot and console on relevant versions

Instead of just defaulting to local hash version
This commit is contained in:
David Heinemeier Hansson
2023-02-02 18:05:03 +01:00
parent c8f673ef7c
commit 6d80005f5d
4 changed files with 76 additions and 18 deletions

View File

@@ -9,6 +9,7 @@ class Mrsk::Configuration
delegate :service, :image, :servers, :env, :labels, :registry, :builder, to: :raw_config, allow_nil: true
delegate :argumentize, :argumentize_env_with_secrets, to: Mrsk::Utils
attr_accessor :version
attr_accessor :raw_config
class << self
@@ -73,10 +74,6 @@ class Mrsk::Configuration
end
def version
@version
end
def repository
[ raw_config.registry["server"], image ].compact.join("/")
end