Skip to content

Commit

Permalink
Remove Docker image after extract
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jan 12, 2024
1 parent 9c9f104 commit 30153e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/scan-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ runs:
id=$(docker create $DATABASE_REF /bin/true)
docker cp $id:/matcher.db.tar.gz /tmp/clair/matcher.db.tar.gz
docker rm $id
docker rmi $DATABASE_REF
tar -xvf /tmp/clair/matcher.db.tar.gz -C .clair/
rm -rf .clair/matcher.db.tar.gz /tmp/clair/
Expand Down

0 comments on commit 30153e0

Please sign in to comment.