Self-hosted AI workspace.
Python
ci(trivy): free build cache before image scan
Alexandre Teixeira0012baa17c61
diff --git a/.github/workflows/container-trivy.yml b/.github/workflows/container-trivy.ymlindex ad5674f18..fece5727c 100644--- a/.github/workflows/container-trivy.yml+++ b/.github/workflows/container-trivy.yml@@ -62,6 +62,8 @@ jobs:- name: Set up Buildxuses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0+ with:+ driver: docker# Build without pushing so a broken Dockerfile is caught here, and the# exact image we ship is what gets scanned.@@ -73,6 +75,9 @@ jobs:load: truetags: odysseus:ci+ - name: Free build cache before vulnerability database download+ run: docker builder prune --all --force+- name: Scan image with Trivyuses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0with:@@ -103,6 +108,8 @@ jobs:- name: Set up Buildxuses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0+ with:+ driver: docker- name: Build imageuses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0@@ -112,6 +119,9 @@ jobs:load: truetags: odysseus:ci+ - name: Free build cache before vulnerability database download+ run: docker builder prune --all --force+- name: Scan image with Trivyuses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0with: