Sha256: 97d4fd9057b156d891a141ff39f683092d51c7e265b83d105222d854abb70416
Contents?: true
Size: 605 Bytes
Versions: 22
Compression:
Stored size: 605 Bytes
Contents
class Kamal::Commands::Builder::Hybrid < Kamal::Commands::Builder::Remote def create combine \ create_local_buildx, create_remote_context, append_remote_buildx end private def builder_name "kamal-hybrid-#{driver}-#{remote.gsub(/[^a-z0-9_-]/, "-")}" end def create_local_buildx docker :buildx, :create, *platform_options(local_arches), "--name", builder_name, "--driver=#{driver}" end def append_remote_buildx docker :buildx, :create, *platform_options(remote_arches), "--append", "--name", builder_name, remote_context_name end end
Version data entries
22 entries across 22 versions & 2 rubygems