Skip to content

Testing out Docker Scout GitHub Action #7

Testing out Docker Scout GitHub Action

Testing out Docker Scout GitHub Action #7

Workflow file for this run

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