Skip to content

Commit

Permalink
Allow executing without sudo (#113)
Browse files Browse the repository at this point in the history
When release manager (gem owner) want to execute rake release,
it is assumed to be executed via sudo.

If owner belongs to docker group, it fails.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
  • Loading branch information
kenhys authored Sep 11, 2024
1 parent 92dec83 commit 69f5408
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 @@ -22,7 +22,7 @@ namespace :docker do
distros.each do |distro|
task distro do
puts "testing on #{distro}"
sh "sudo docker build . -f test/docker/Dockerfile.#{distro}"
sh "docker build . -f test/docker/Dockerfile.#{distro}"
end
end
end

0 comments on commit 69f5408

Please sign in to comment.