Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyewobi authored May 8, 2024
1 parent 30d06f6 commit abb3f50
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@ jobs:
- name: Build Docker Image
run: docker build -f Dockerfile -t myapp:latest .

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

- name: Docker Scout Scan
uses: docker/[email protected]
with:
dockerhub-user: ${{ secrets.REPO_USER }}
dockerhub-password: ${{ secrets.DOCKER_TOKEN }}
command: quickview,cves


Expand Down

0 comments on commit abb3f50

Please sign in to comment.