chore(ci): improve docker cleanup
This commit is contained in:
parent
57042a8bfc
commit
272a24473a
2 changed files with 2 additions and 4 deletions
1
.github/workflows/container-scan.yml
vendored
1
.github/workflows/container-scan.yml
vendored
|
@ -33,6 +33,5 @@ jobs:
|
||||||
|
|
||||||
- name: Clean up Docker
|
- name: Clean up Docker
|
||||||
run: |
|
run: |
|
||||||
docker buildx prune --filter=until=48h -f
|
|
||||||
docker image rm meetup_trivy
|
docker image rm meetup_trivy
|
||||||
docker system prune -af --volumes
|
docker system prune -af --volumes
|
1
.github/workflows/docker-build.yml
vendored
1
.github/workflows/docker-build.yml
vendored
|
@ -66,5 +66,4 @@ jobs:
|
||||||
|
|
||||||
- name: Clean up Docker
|
- name: Clean up Docker
|
||||||
run: |
|
run: |
|
||||||
docker buildx prune --filter=until=48h -f
|
|
||||||
docker system prune -af --volumes
|
docker system prune -af --volumes
|
Loading…
Add table
Add a link
Reference in a new issue