Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Commit

Permalink
Parameterize the tag with which the image can be built. (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
varshavaradarajan authored Apr 6, 2017
1 parent b258a89 commit c075db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ create_user_and_group_cmd = [

task :build_docker_image do
cd dir_name do
sh("docker build . -t #{repo_name}")
sh("docker build . -t #{repo_name}:#{ENV['TAG'] || image_tag}")
end
end

Expand Down

0 comments on commit c075db4

Please sign in to comment.