Skip to content

Commit

Permalink
Docker Scout via action
Browse files Browse the repository at this point in the history
  • Loading branch information
sidbose87 authored Apr 10, 2024
1 parent 2cc623f commit 14262a7
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@ jobs:
- name: Docker Build
run: docker build -f Dockerfile -t owasp_app:latest .
- name: Docker Scout Scan
run: |
curl -sSfL https://raw.githubusercontent.com/docker/scout-cli/main/install.sh | sh -s --
echo ${{ secrets.DOCKER_TOKEN }} | docker login --username ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker scout quickview
docker scout cves
#run: |
#curl -sSfL https://raw.githubusercontent.com/docker/scout-cli/main/install.sh | sh -s --
#echo ${{ secrets.DOCKER_TOKEN }} | docker login --username ${{ secrets.DOCKER_USERNAME }} --password-stdin
#docker scout quickview
#docker scout cves
uses: docker/scout-action@v1.6.4
with:
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
dockerhub-password: ${{ secrets.DOCKER_TOKEN }}
command: quickview,cves

0 comments on commit 14262a7

Please sign in to comment.