Sha256: 631726c0ed73e5591d09106272928b104d7dc42f9e1e0e82485fa1b5e2368d50
Contents?: true
Size: 571 Bytes
Versions: 7
Compression:
Stored size: 571 Bytes
Contents
class Kamal::Commands::Builder::Multiarch < Kamal::Commands::Builder::Base def create docker :buildx, :create, "--use", "--name", builder_name end def remove docker :buildx, :rm, builder_name end def push docker :buildx, :build, "--push", "--platform", "linux/amd64,linux/arm64", "--builder", builder_name, *build_options, build_context end def info combine \ docker(:context, :ls), docker(:buildx, :ls) end private def builder_name "kamal-#{config.service}-multiarch" end end
Version data entries
7 entries across 7 versions & 1 rubygems