Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
awskutty authored Feb 2, 2024
1 parent 9a834c7 commit 7cbbc71
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ jobs:
run: ./gradlew build

- name: Build and Push Docker Image
uses: mr-smithers-excellent/docker-build-push@v4
- run: docker build -t durai54/my-app
- name: Publish Image to docker hub
- run: docker push durai54/my-app
with
registry:docker.io
username:${{ secrets.DOCKER_USERNAME }}
password:${{ secrets.DOCKER_PASSWORD }}
- uses: docker/[email protected]
with:
image: durai54/my-app
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}



0 comments on commit 7cbbc71

Please sign in to comment.