Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiswaladi246 authored Jul 28, 2024
1 parent 6892db6 commit 84ff89f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,14 @@ jobs:
- name: Trivy image scan
run: trivy image --format table -o image.html adijaiswal/taskmaster:latest

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push Docker Image
run: |
docker push adijaiswal/taskmaster:latest

0 comments on commit 84ff89f

Please sign in to comment.