From f65420ecbce38ec935d710226acaf6d17bae88d5 Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 30 May 2024 13:40:40 -0700 Subject: [PATCH] Don't drop privs to ubuntu before running Renovate It seems like earthly bootstrap can talk to docker, but earthly +go-generate can't. My best guess is this is because we bootstrap as root, then try to run earthly as ubuntu. Signed-off-by: Nic Cope --- .github/renovate-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate-entrypoint.sh b/.github/renovate-entrypoint.sh index 193ebbcd6..4ef46f961 100755 --- a/.github/renovate-entrypoint.sh +++ b/.github/renovate-entrypoint.sh @@ -4,4 +4,4 @@ curl -fsSLo /usr/local/bin/earthly https://github.com/earthly/earthly/releases/l chmod +x /usr/local/bin/earthly /usr/local/bin/earthly bootstrap -runuser -u ubuntu renovate +renovate