Sha256: b7c837471b564507522a78524f3690a8bc3a21cd53bcd852a03ecea67edc500a

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

#!/usr/bin/env ruby

name = 'transformer'
require "./lib/legion/extensions/#{name}/version"
version = Legion::Extensions::Transformer::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-transformer-0.1.4 docker_deploy.rb