Skip to content

Commit

Permalink
feat: The frontend docker build and push is added in the workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj-kumar00 committed Oct 10, 2024
1 parent 47b647f commit 57ac6fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Build Docker image
run: docker build ./api/ -t surajkumar00/devops-url2qr-api:latest
run: |
docker build ./api/ -t surajkumar00/devops-url2qr-api:latest
docker build ./front-end-nextjs/ -t surajkumar00/devops-url2qr-frontend:latest
- name: Push Docker image to DockerHub
run: |
docker push surajkumar00/devops-url2qr-api:latest
docker push surajkumar00/devops-url2qr-frontend:latest

0 comments on commit 57ac6fe

Please sign in to comment.