diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh index 56b2b0a7d..33a0ae5d1 100755 --- a/.gitlab-ci/run-docker.sh +++ b/.gitlab-ci/run-docker.sh @@ -23,6 +23,8 @@ if docker -v |& grep -q podman; then # is incompatible with some of the dockerd instances on GitLab # CI runners. export BUILDAH_FORMAT=docker +elif getent group docker | grep -q "\b${USER}\b"; then + SUDO_CMD="" fi set -e