Skip to content

Commit

Permalink
updated deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mehedikhan72 committed Aug 25, 2024
1 parent 74e9aea commit 876ba59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Build and Deploy

on:
Expand Down Expand Up @@ -70,4 +69,9 @@ jobs:
--restart always \
--name $(echo $IMAGE_NAME) \
-p 8080:8080 \
-e DB_HOST=${{ secrets.DB_HOST }} \
-e DB_USERNAME=${{ secrets.DB_USERNAME }} \
-e DB_PASSWORD=${{ secrets.DB_PASSWORD }} \
-e DB_NAME=${{ secrets.DB_NAME }} \
-e DB_PORT=${{ secrets.DB_PORT }} \
$(echo $REGISTRY)/$(echo $IMAGE_NAME):$(echo $GITHUB_SHA | head -c7)

0 comments on commit 876ba59

Please sign in to comment.