Skip to content

Commit 5001403

Browse files
committed
Stop and remove container if running
1 parent ea57fb5 commit 5001403

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ jobs:
8181
run: |
8282
docker pull ${{secrets.AWS_ECR_LOGIN_URI}}/${{ secrets.ECR_REPOSITORY_NAME }}:latest
8383
84-
#- name: Stop and remove container if running
85-
# run: |
86-
# docker ps -q --filter "name=network_security" | grep -q . && docker stop networksecurity && docker rm -fv networksecurity
84+
- name: Stop and remove container if running
85+
run: |
86+
docker ps -q --filter "name=network_security" | grep -q . && docker stop network_security && docker rm -fv network_security
8787

8888
- name: Run Docker Image to serve users
8989
run: |

0 commit comments

Comments
 (0)