From afc0757b0f45fa17e36a00a7077aed2f8052c9fa Mon Sep 17 00:00:00 2001 From: Mohd Ahsan Date: Thu, 12 Dec 2024 11:11:37 +0530 Subject: [PATCH] fix container not stopping properly on re run --- .github/workflows/automation-db.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automation-db.yml b/.github/workflows/automation-db.yml index 42bf195..fbb758d 100644 --- a/.github/workflows/automation-db.yml +++ b/.github/workflows/automation-db.yml @@ -52,5 +52,5 @@ jobs: # Run the new container # docker run -d --name automation-db -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/automation-db:latest - docker run -d -e DB_URL=${{vars.YUGABYTE_DB_URL}} -e DB_PASSWORD=${{vars.YUGABYTE_PASSWORD}} -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/automation-db:latest + docker run -d --name automation-db -e DB_URL=${{vars.YUGABYTE_DB_URL}} -e DB_PASSWORD=${{vars.YUGABYTE_PASSWORD}} -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/automation-db:latest EOF