Remove the docker releasing rake task

This commit is contained in:
Clinton Wolfe 2020-12-09 14:10:46 -05:00 committed by GitHub
commit 676660a094
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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