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:
Tim Smith 2020-12-09 10:48:28 -08:00
parent 9e5eef39ce
commit 1da62112fd

View file

@ -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