Skip to content

Commit 7416648

Browse files
committed
ci: use job temp directory for container scan extraction
1 parent 04cbbf4 commit 7416648

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/actions/container-security/action.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ runs:
3636
SYFT_CMD: ${{ steps.syft.outputs.cmd }}
3737
GRYPE_CMD: ${{ steps.grype.outputs.cmd }}
3838
SECURITY_ACTION_PATH: ${{ github.action_path }}
39+
# Private runners mount /tmp as a 1 GiB tmpfs. Image extraction needs
40+
# the job's disk-backed temp directory for larger image layers.
41+
TMPDIR: ${{ runner.temp }}
3942
run: bash "$SECURITY_ACTION_PATH/container-security.sh" scan
4043
- name: Retain SBOMs and vulnerability reports
4144
if: ${{ always() }}

0 commit comments

Comments
 (0)