Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 committed Jul 15, 2024
1 parent 8ba0879 commit 2448b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kamal/cli/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class BuildError < StandardError; end

desc "deliver", "Build app and push app image to registry then pull image on servers"
def deliver
push unless already_built?
push unless already_pushed?
pull
end

Expand Down Expand Up @@ -159,7 +159,7 @@ def pull_on_hosts(hosts)
end
end

def already_built?
def already_pushed?
run_locally { execute *KAMAL.docker.manifest(KAMAL.builder.absolute_image) }
rescue SSHKit::Command::Failed
false
Expand Down

0 comments on commit 2448b17

Please sign in to comment.