Sha256: e6c9755a82af4149488f49ae83e3428dee5e5896ade50ed4c04469890c918bbd

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

#!/usr/bin/env ruby

name = 'conditioner'
require "./lib/legion/extensions/#{name}/version"
version = Legion::Extensions::Conditioner::VERSION

puts "Building docker image for Legion v#{version}"
system("docker build --tag legionio/lex-#{name}:v#{version} .")
puts 'Pushing to hub.docker.com'
system("docker push legionio/lex-#{name}:v#{version}")
system("docker tag legionio/lex-#{name}:v#{version} legionio/lex-#{name}:latest")
system("docker push legionio/lex-#{name}:latest")
puts 'completed'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lex-conditioner-0.2.5 docker_deploy.rb