Skip to content

Commit 5c0b4e5

Browse files
2 parents 6fccda1 + fe6a7f3 commit 5c0b4e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Stop and remove old container (if running)
7070
run: |
71-
OLD_CONTAINER_ID=$(docker ps -q --filter ancestor=codebuilder-webapp:latest)
71+
OLD_CONTAINER_ID=$(docker ps -aq --filter name=codebuilder-webapp)
7272
if [ -n "$OLD_CONTAINER_ID" ]; then
7373
echo "Stopping and removing container $OLD_CONTAINER_ID..."
7474
docker stop $OLD_CONTAINER_ID

0 commit comments

Comments
 (0)