Skip to content

Commit b3b9ae9

Browse files
committed
fix: force prune unused Docker images in CI workflow
1 parent c73ef9d commit b3b9ae9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
yarn test
2626
push-on-production:
2727
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
28+
needs: build-and-test
2829
runs-on: ubuntu-latest
2930
steps:
3031
- name: Check out repository code
@@ -62,4 +63,4 @@ jobs:
6263
cd mida-sync/
6364
docker compose build --no-cache
6465
docker compose up -d --force-recreate
65-
docker image prune
66+
docker image prune -f

0 commit comments

Comments
 (0)