Fix Trivy diskspace issue by cleaning docker build cache (#35059)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #35057 Ran successfully. Now fails with CVEs and not disk space issues: https://github.com/fleetdm/fleet/actions/runs/18977076930/job/54199504988
This commit is contained in:
@@ -41,6 +41,11 @@ jobs:
|
||||
- name: Build fleetdm/bomutils
|
||||
run: make bomutils-docker
|
||||
|
||||
- name: Clean up Docker build cache
|
||||
run: |
|
||||
docker system prune -af
|
||||
df -h
|
||||
|
||||
- name: List VEX files
|
||||
id: generate_vex_files
|
||||
run: |
|
||||
|
||||
@@ -41,6 +41,11 @@ jobs:
|
||||
- name: Build fleetdm/fleetctl
|
||||
run: make fleetctl-docker
|
||||
|
||||
- name: Clean up Docker build cache
|
||||
run: |
|
||||
docker system prune -af
|
||||
df -h
|
||||
|
||||
- name: List VEX files
|
||||
id: generate_vex_files
|
||||
run: |
|
||||
|
||||
@@ -41,6 +41,11 @@ jobs:
|
||||
- name: Build fleetdm/wix
|
||||
run: make wix-docker
|
||||
|
||||
- name: Clean up Docker build cache
|
||||
run: |
|
||||
docker system prune -af
|
||||
df -h
|
||||
|
||||
- name: List VEX files
|
||||
id: generate_vex_files
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user