Skip to content

Commit

Permalink
ci: Assign name to docker container while running
Browse files Browse the repository at this point in the history
  • Loading branch information
devadathanmb committed Oct 30, 2023
1 parent acc54d0 commit 7d7ed74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d7ed74

Please sign in to comment.