We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fccda1 + fe6a7f3 commit 5c0b4e5Copy full SHA for 5c0b4e5
.github/workflows/deploy-docker.yml
@@ -68,7 +68,7 @@ jobs:
68
69
- name: Stop and remove old container (if running)
70
run: |
71
- OLD_CONTAINER_ID=$(docker ps -q --filter ancestor=codebuilder-webapp:latest)
+ OLD_CONTAINER_ID=$(docker ps -aq --filter name=codebuilder-webapp)
72
if [ -n "$OLD_CONTAINER_ID" ]; then
73
echo "Stopping and removing container $OLD_CONTAINER_ID..."
74
docker stop $OLD_CONTAINER_ID
0 commit comments