Class: Mrsk::Commands::Builder::Native::Remote
Constant Summary
Mrsk::Commands::Base::MAX_LOG_SIZE
Instance Attribute Summary
#config
Instance Method Summary
collapse
Methods inherited from Base
#build_options, #pull
#container_id_for, #initialize, #run_over_ssh
Instance Method Details
#create ⇒ Object
2
3
4
5
6
|
# File 'lib/mrsk/commands/builder/native/remote.rb', line 2
def create
chain \
create_context,
create_buildx
end
|
#info ⇒ Object
23
24
25
26
27
|
# File 'lib/mrsk/commands/builder/native/remote.rb', line 23
def info
chain \
docker(:context, :ls),
docker(:buildx, :ls)
end
|
#push ⇒ Object
14
15
16
17
18
19
20
21
|
# File 'lib/mrsk/commands/builder/native/remote.rb', line 14
def push
docker :buildx, :build,
"--push",
"--platform", platform,
"--builder", builder_name,
*build_options,
"."
end
|
#remove ⇒ Object
8
9
10
11
12
|
# File 'lib/mrsk/commands/builder/native/remote.rb', line 8
def remove
chain \
remove_context,
remove_buildx
end
|