We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45cfdc commit fe6a7f3Copy full SHA for fe6a7f3
.github/workflows/deploy-docker.yml
@@ -62,7 +62,7 @@ jobs:
62
63
- name: Stop and remove old container (if running)
64
run: |
65
- OLD_CONTAINER_ID=$(docker ps -q --filter ancestor=codebuilder-webapp:latest)
+ OLD_CONTAINER_ID=$(docker ps -aq --filter name=codebuilder-webapp)
66
if [ -n "$OLD_CONTAINER_ID" ]; then
67
echo "Stopping and removing container $OLD_CONTAINER_ID..."
68
docker stop $OLD_CONTAINER_ID
0 commit comments