fix: lock compose project name to 'meezi', scope image prune to meezi only
CI/CD / CI · API (dotnet build + test) (push) Successful in 1m40s
CI/CD / CI · Admin API (dotnet build) (push) Successful in 1m22s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m0s
CI/CD / CI · Admin Web (tsc) (push) Successful in 33s
CI/CD / CI · Website (tsc) (push) Successful in 43s
CI/CD / CI · Koja (tsc) (push) Successful in 47s
CI/CD / Deploy · all services (push) Failing after 2s
CI/CD / CI · API (dotnet build + test) (push) Successful in 1m40s
CI/CD / CI · Admin API (dotnet build) (push) Successful in 1m22s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m0s
CI/CD / CI · Admin Web (tsc) (push) Successful in 33s
CI/CD / CI · Website (tsc) (push) Successful in 43s
CI/CD / CI · Koja (tsc) (push) Successful in 47s
CI/CD / Deploy · all services (push) Failing after 2s
Prevents runner workspace collisions with other projects (DrSousan etc.) causing containers to be treated as orphans and stopped on deploy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -349,6 +349,12 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
run: docker compose -f docker-compose.yml -f docker-compose.admin.yml ps
|
run: docker compose -f docker-compose.yml -f docker-compose.admin.yml ps
|
||||||
|
|
||||||
- name: Prune old images
|
- name: Prune old meezi images
|
||||||
if: success()
|
if: success()
|
||||||
run: docker image prune -f
|
# Only remove untagged (dangling) meezi images — never touches other projects
|
||||||
|
run: |
|
||||||
|
docker images --format '{{.Repository}}:{{.Tag}} {{.ID}}' \
|
||||||
|
| grep '^hostexecutor-' \
|
||||||
|
| grep '<none>' \
|
||||||
|
| awk '{print $2}' \
|
||||||
|
| xargs -r docker rmi || true
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
name: meezi # Lock project name — prevents runner workspace from overriding it
|
||||||
|
|
||||||
# Meezi — main stack (Postgres, Redis, API, Dashboard, Website, Koja)
|
# Meezi — main stack (Postgres, Redis, API, Dashboard, Website, Koja)
|
||||||
#
|
#
|
||||||
# All images/packages served from Nexus at mirror.soroushasadi.com:
|
# All images/packages served from Nexus at mirror.soroushasadi.com:
|
||||||
|
|||||||
Reference in New Issue
Block a user