Skip to content

Commit

Permalink
ensure trivy image is retained
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Jun 19, 2024
1 parent 12430d0 commit 2ebbbb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
docker-images: false
- name: build image
if: env.SKIP == '0'
run: |
Expand All @@ -55,7 +56,7 @@ jobs:
set -euxo pipefail
df -h
docker builder prune -a -f
# docker rmi -f $(docker image ls -a | grep -E "(node|debian|moby|ubuntu|alpine)" | awk 'NR>1 {print $3}')
docker rmi -f $(docker image ls -a | grep -E "(node|debian|moby|ubuntu|alpine)" | awk 'NR>1 {print $3}')
df -h
# debug
Expand Down

0 comments on commit 2ebbbb0

Please sign in to comment.