Skip to content

Commit 28e5fb5

Browse files
authored
ci: add docker scout (#34)
1 parent b178f4c commit 28e5fb5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yml

+13
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,16 @@ jobs:
105105
export IMAGE_TEMPLATE=${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
106106
export IMAGE_TAG=${{ env.DOCKER_NAMESPACE }}:latest
107107
make test
108+
109+
- name: 🔍 Run Docker Scout
110+
id: docker-scout
111+
uses: docker/scout-action@v1
112+
with:
113+
command: cves,recommendations
114+
ignore-unchanged: true
115+
only-fixed: true
116+
only-severities: critical,high
117+
keep-previous-comments: false
118+
github-token: ${{ secrets.GITHUB_TOKEN }}
119+
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
120+
dockerhub-password: ${{ secrets.DOCKER_TOKEN }}

0 commit comments

Comments
 (0)