Skip to content

Commit 68d039e

Browse files
authored
test: must be running as root inside container
actions/checkout#1014
1 parent 0009b62 commit 68d039e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/puppeteer-container.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ jobs:
7676
# env variables are not available at this level, only in steps:
7777
# https://github.com/actions/runner/issues/2394
7878
# so registry has to be hardcoded
79-
container: ghcr.io/${{ needs.prepare.outputs.name }}:${{ needs.prepare.outputs.version }}
79+
container:
80+
image: ghcr.io/${{ needs.prepare.outputs.name }}:${{ needs.prepare.outputs.version }}
81+
options: --user root
8082

8183
steps:
8284
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)