Only tag after deploying to all hosts
This commit is contained in:
@@ -18,7 +18,9 @@ class Kamal::Cli::App < Kamal::Cli::Base
|
|||||||
KAMAL.roles_on(host).each do |role|
|
KAMAL.roles_on(host).each do |role|
|
||||||
Kamal::Cli::App::Boot.new(host, role, version, self).run
|
Kamal::Cli::App::Boot.new(host, role, version, self).run
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
on(KAMAL.hosts) do |host|
|
||||||
execute *KAMAL.auditor.record("Tagging #{KAMAL.config.absolute_image} as the latest image"), verbosity: :debug
|
execute *KAMAL.auditor.record("Tagging #{KAMAL.config.absolute_image} as the latest image"), verbosity: :debug
|
||||||
execute *KAMAL.app.tag_latest_image
|
execute *KAMAL.app.tag_latest_image
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user