mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
also push docker latest tag with each release
This commit is contained in:
parent
c7e15f7fad
commit
6042b0ef65
1 changed files with 2 additions and 0 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue