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_args, #build_secrets, #build_tags, #pull
#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
25
26
27
28
29
|
# File 'lib/mrsk/commands/builder/native/remote.rb', line 25
def info
chain \
docker(:context, :ls),
docker(:buildx, :ls)
end
|
#push ⇒ Object
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/mrsk/commands/builder/native/remote.rb', line 14
def push
docker :buildx, :build,
"--push",
"--platform", platform,
"--builder", builder_name,
*build_tags,
*build_args,
*build_secrets,
"."
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
|