Skip to content

Commit

Permalink
Allow executing without sudo
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 <[email protected]>
  • Loading branch information
kenhys committed Sep 11, 2024
1 parent 55a87fa commit 08b5505
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 08b5505

Please sign in to comment.