mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Remove the docker releasing rake task
This commit is contained in:
commit
676660a094
1 changed files with 1 additions and 14 deletions
15
Rakefile
15
Rakefile
|
@ -502,17 +502,4 @@ end
|
|||
desc "Show the version of this gem"
|
||||
task :version do
|
||||
inspec_version
|
||||
end
|
||||
|
||||
desc "Release a new docker image"
|
||||
task :release_docker do
|
||||
version = Inspec::VERSION
|
||||
cmd = "rm *.gem; gem build *gemspec && "\
|
||||
"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
|
||||
end
|
Loading…
Reference in a new issue