Skip to content

Commit

Permalink
Update nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charan-happy authored May 23, 2024
1 parent eb6df12 commit 89cd7a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Dockerhub Login
uses: docker/[email protected]
with:
username: ${{ vars.Dockerhub_USERNAME }}
password: ${{ secrets.Dockerhub_PASSWORD }}
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build Docker image
run: docker build -t ${{ vars.Dockerhub_USERNAME }}/nextjs-app .
run: docker build -t ${{ vars.DOCKERHUB_USERNAME }}/nextjs-app ./nextjs-app
- name: Push Docker image
run: docker push ${{ vars.Dockerhub_USERNAME }}/nextjs-app
run: docker push ${{ vars.DOCKERHUB_USERNAME }}/nextjs-app

0 comments on commit 89cd7a6

Please sign in to comment.