Sha256: 17f804aeccc2d1d3df66657cd881b36defa8979b2088bb4dbfb093b52619208b
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
#!/usr/bin/env ruby name = 'node' require "./lib/legion/extensions/#{name}/version" version = Legion::Extensions::Node::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-node-0.2.0 | docker_deploy.rb |
lex-node-0.1.7 | docker_deploy.rb |