mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +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
13
Rakefile
13
Rakefile
|
@ -503,16 +503,3 @@ 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
|
||||
|
|
Loading…
Reference in a new issue