From 7d7ed74048dbefdb4d821b636ce707361cc9f613 Mon Sep 17 00:00:00 2001 From: Devadathan M B Date: Mon, 30 Oct 2023 17:29:34 +0530 Subject: [PATCH] ci: Assign name to docker container while running --- .github/workflows/build-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index f39b6a2..968aeb5 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -48,4 +48,4 @@ jobs: docker tag ${{ secrets.DOCKERHUB_USERNAME }}/ktu-bot:latest ktu-bot:latest docker stop ktu-bot || true docker rm ktu-bot || true - docker run -d --restart always -e BOT_TOKEN=${{ secrets.BOT_TOKEN }} -e FIREBASE_SERVICE_ACCOUNT="${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" ktu-bot + docker run -d --restart always -e BOT_TOKEN=${{ secrets.BOT_TOKEN }} -e FIREBASE_SERVICE_ACCOUNT="${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" --name ktu-bot ktu-bot