Skip to content

Commit

Permalink
fix docker image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush7833 committed Jun 9, 2024
1 parent 7c61f9b commit 9b60e66
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker build --build-arg JWT_SECRET=${{ secrets.JWT_SECRET }} --build-arg DB_URI=${{ secrets.DB_URI }} -t piyush7833/chat-api .
docker tag chat-api piyush7833/chat-api
docker push piyush7833/chat-api
docker build --build-arg JWT_SECRET= ${{ secrets.JWT_SECRET }}--build-arg DB_URI=${{ secrets.DB_URI }} -t piyush7833/chat-api:latest .
docker push piyush7833/chat-api:latest

0 comments on commit 9b60e66

Please sign in to comment.