ci: prune dangling Docker images after deploy
This commit is contained in:
@@ -66,3 +66,6 @@ jobs:
|
||||
VERSION=$(git describe --tags --always)
|
||||
COMMIT=$(git rev-parse --short HEAD)
|
||||
VERSION=$VERSION COMMIT=$COMMIT docker compose up -d --build --remove-orphans
|
||||
|
||||
- name: Prune unused images
|
||||
run: docker image prune -f
|
||||
|
||||
Reference in New Issue
Block a user