also push docker latest tag with each release

This commit is contained in:
Christoph Hartmann 2016-11-20 21:51:39 -07:00
parent c7e15f7fad
commit 6042b0ef65

View file

@ -164,6 +164,8 @@ task :release_docker do
"mv *.gem inspec.gem && "\
"docker build -t chef/inspec:#{version} . && "\
"docker push chef/inspec:#{version}"
"docker tag chef/inspec:#{version} chef/inspec:latest"
"docker push chef/inspec:latest"
puts "--> #{cmd}"
sh('sh', '-c', cmd)
end