Sha256: 4236368799fd3c282723e09fedf887622096e1fc94272a2d55b45adbc6956277
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
#!/usr/bin/env ruby name = 'scheduler' require "./lib/legion/extensions/#{name}/version" version = Legion::Extensions::Scheduler::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-scheduler-0.1.3 | docker_deploy.rb |