Skip to content

Commit

Permalink
fix: Worflow file is fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj-kumar00 committed Oct 10, 2024
1 parent 3a5c418 commit 47b647f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to DockerHub
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 .
run: docker build ./api/ -t surajkumar00/devops-url2qr-api:latest

- name: Push Docker image to DockerHub
run: docker push surajkumar00/devops-url2qr-api
run: |
docker push surajkumar00/devops-url2qr-api:latest

0 comments on commit 47b647f

Please sign in to comment.