Skip to content

Commit d7e8639

Browse files
committed
Push also tagged image (fixed)
1 parent 1e2ec1a commit d7e8639

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ desc 'Push rubydata/discourse image'
1313
task :push do
1414
sh 'docker', 'push', 'rubydata/discourse'
1515
hash = `git rev-parse HEAD`.chomp
16+
sh 'docker', 'image', 'tag', 'rubydata/discourse:latest', "rubydata/discourse:#{hash}"
1617
sh 'docker', 'push', "rubydata/discourse:#{hash}"
1718
end
1819

0 commit comments

Comments
 (0)