Sha256: f195e4231c4e706496b61272505c36f386ba84096a735c6581bbda4f975cdb02
Contents?: true
Size: 424 Bytes
Versions: 13
Compression:
Stored size: 424 Bytes
Contents
class KuberKit::Shell::Commands::DockerCommands def build(shell, build_dir, args = []) default_args = ["--rm=true"] args_list = (default_args + args).join(" ") shell.exec!(%Q{docker build #{build_dir} #{args_list}}) end def tag(shell, image_name, tag_name) shell.exec!(%Q{docker tag #{image_name} #{tag_name}}) end def push(shell, tag_name) shell.exec!(%Q{docker push #{tag_name}}) end end
Version data entries
13 entries across 13 versions & 1 rubygems