Class: Mrsk::Commands::Builder::Base
Instance Attribute Summary
#config
Instance Method Summary
collapse
#initialize
Instance Method Details
#build_args ⇒ Object
10
11
12
|
# File 'lib/mrsk/commands/builder/base.rb', line 10
def build_args
argumentize "--build-arg", args, redacted: true
end
|
#build_secrets ⇒ Object
14
15
16
|
# File 'lib/mrsk/commands/builder/base.rb', line 14
def build_secrets
argumentize "--secret", secrets.collect { |secret| [ "id", secret ] }
end
|
#pull ⇒ Object
6
7
8
|
# File 'lib/mrsk/commands/builder/base.rb', line 6
def pull
docker :pull, config.absolute_image
end
|