Files
kamal/lib/mrsk/commands/builder/native.rb
David Heinemeier Hansson 6ccb3d2319 Allow for fully native builds too
Skipping multiarch if there's a platform match between dev and prod.
2023-01-13 09:31:47 +01:00

20 lines
316 B
Ruby

require "mrsk/commands/base"
class Mrsk::Commands::Builder::Native < Mrsk::Commands::Base
def create
# No op on native
end
def remove
# No op on native
end
def push
docker :build, "--push", "-t", config.absolute_image, "."
end
def pull
docker :pull, config.absolute_image
end
end