mirror of
https://github.com/inspec/inspec
synced 2024-11-25 06:00:29 +00:00
Remove the docker releasing rake task
We handle this in Expeditor now Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
parent
9e5eef39ce
commit
1da62112fd
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