Testing out Docker Scout GitHub Action #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Scout | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
permissions: | |
pull-requests: write | |
jobs: | |
scout: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USER }} | |
password: ${{ secrets.DOCKERHUB_PW }} | |
- name: Build | |
run: docker build --platform linux/amd64 -t getwilds/bwa:latest -f bwa/Dockerfile_latest . | |
- name: Docker Scout | |
id: docker-scout | |
uses: docker/scout-action@v1 | |
with: | |
command: cves,recommendations,compare | |
to-latest: true | |
ignore-base: true | |
ignore-unchanged: true | |
only-fixed: true |