Merge pull request 'Remove dangling containers after failed execution' (#28) from remove-dangling-containers into main
All checks were successful
Run unit tests / unit_tests (push) Successful in 2m50s

Reviewed-on: #28
This commit is contained in:
bustikiller 2024-08-09 18:25:11 +00:00
commit 5fbebbcec2

View File

@ -35,3 +35,6 @@ jobs:
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
- name: Clean up containers generated by this flow
if: failure()
run: docker ps --filter network=$JOB_CONTAINER_NAME-$GITHUB_JOB-network --filter name=$JOB_CONTAINER_NAME-* --format "{{.ID}}" | xargs docker rm -f