Skip to content

Commit

Permalink
error fix in env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jayant-vashisth committed Dec 15, 2023
1 parent 494c532 commit 4f92663
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cicd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
- name: Login to docker hub
run: docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_PASSWORD}}
- name: Build docker image
run: docker build -t jayantvashisth/furniturebackend \
--build-arg MONGODB_URI=${{ secrets.MONGODB_URI }} \
--build-arg PORT=${{ secrets.PORT }} .
run: docker build -t jayantvashisth/furniturebackend --build-arg MONGODB_URI=${{ secrets.MONGODB_URI }} --build-arg PORT=${{ secrets.PORT }} .
- name: Publish image to docker hub
run: docker push jayantvashisth/furniturebackend:latest

Expand Down

0 comments on commit 4f92663

Please sign in to comment.