Skip to content

Commit

Permalink
Update deploy-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OlhaDanylevska committed Feb 10, 2024
1 parent 7023cb3 commit d75bc7e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,10 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
docker run -d DB_USER=${{ secrets.RDS_DB_USER }} DB_HOST=${{ secrets.RDS_DB_HOST }} DB_PASSWORD=${{ secrets.RDS_DB_PASSWORD }} DB_PORT=${{ secrets.RDS_DB_PORT }} -p 80:3000 olhadanylevska/video-server:${{ steps.create_tag.outputs.tag }}
docker run -d \
-e DB_USER=${{ secrets.RDS_DB_USER }} \
-e DB_HOST=${{ secrets.RDS_DB_HOST }} \
-e DB_PASSWORD=${{ secrets.RDS_DB_PASSWORD }} \
-e DB_PORT=${{ secrets.RDS_DB_PORT }} \
-p 80:3000 \
olhadanylevska/video-server:${{ steps.create_tag.outputs.tag }}

0 comments on commit d75bc7e

Please sign in to comment.