Sha256: db5bb62f8629ce6b4b5091172e5886378bb9c1c313dec0e1a019243d36472127

Contents?: true

Size: 487 Bytes

Versions: 2

Compression:

Stored size: 487 Bytes

Contents

#!/usr/bin/env ruby

name = 'health'
require "./lib/legion/extensions/#{name}/version"
version = Legion::Extensions::Health::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

2 entries across 2 versions & 1 rubygems

Version Path
lex-health-0.1.5 docker_deploy.rb
lex-health-0.1.4 docker_deploy.rb