Skip to content

Commit fb94fea

Browse files
committed
Allow capability-restricted measurer to write artifact mount
1 parent 077bc64 commit fb94fea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/tinfoil-build.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
GH_TOKEN: ${{ github.token }}
2626
run: |
2727
mkdir -p output
28+
# The measured container runs with all capabilities dropped, including
29+
# DAC_OVERRIDE. Permit writes only to its dedicated artifact mount.
30+
chmod 0777 output
2831
docker run --rm --cap-drop=ALL --security-opt=no-new-privileges \
2932
--read-only --tmpfs /tmp --tmpfs /cache --tmpfs /root/.cache \
3033
-v "$PWD/output:/output" -v "$PWD/tinfoil-config.yml:/config.yml:ro" \

0 commit comments

Comments
 (0)