fix(renovate): run sed as root to patch read-only dist files
The /usr/local/renovate/dist directory is owned by root. Temporarily switch to root for the sed patch, then back to ubuntu. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
cf94c7c1fb
commit
e8234981c5
@@ -859,7 +859,9 @@ func (m *Ci) Renovate(ctx context.Context, renovateToken *dagger.Secret) (string
|
||||
WithEnvVariable("RENOVATE_ENDPOINT", "https://codeberg.org").
|
||||
WithEnvVariable("RENOVATE_REPOSITORIES", "guettli/sharedinbox").
|
||||
WithEnvVariable("LOG_LEVEL", "info").
|
||||
WithUser("root").
|
||||
WithExec([]string{"/bin/sh", "-c", patchCmd}).
|
||||
WithUser("ubuntu").
|
||||
WithExec([]string{"renovate"}).
|
||||
Stdout(ctx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user