Sha256: bdc9558d999c420ed554c998ea83683c385f87796a4a1c665663618017f701fc
Contents?: true
Size: 434 Bytes
Versions: 13
Compression:
Stored size: 434 Bytes
Contents
namespace :docker do task :jenkins do fail 'Not in a Jenkins environment' \ if ENV['BUILD_NUMBER'].nil? Rake::Task[:'docker:push'].invoke end task :jenkins_fake do ENV['BUILD_NUMBER'] = '1234' Rake::Task[:'docker:jenkins'].invoke end task build: :prepare do @docker_builder.build end task tag: :build do @docker_builder.tag end task push: :tag do @docker_builder.push end end
Version data entries
13 entries across 13 versions & 1 rubygems