chore: fix docker scan module

This commit is contained in:
DaanSelen
2025-09-16 15:45:22 +02:00
committed by GitHub
parent 335c69f517
commit 5cd8a80118

View File

@@ -79,18 +79,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: docker_build needs: docker_build
steps: steps:
- name: Log in to Docker Hub - name: Log in to GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.DOCKERHUB_PREFIX }} registry: ${{ env.GITHUB_CONTAINER_PREFIX }}
username: ${{ secrets.DOCKER_HUB_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Scout CVEs - name: Docker Scout CVEs
uses: docker/scout-action@v1 uses: docker/scout-action@v1
with: with:
command: cves command: cves
image: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ env.DOCKER_IMAGE }}:main image: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE }}:main
only-severities: critical,high only-severities: critical,high
only-fixed: true only-fixed: true
write-comment: true write-comment: true
@@ -102,8 +102,8 @@ jobs:
with: with:
command: compare command: compare
# Set to Github for maximum compat # Set to Github for maximum compat
image: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ env.DOCKER_IMAGE }}:main image: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE }}:main
to: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ env.DOCKER_IMAGE }}:latest to: ${{ env.GITHUB_CONTAINER_PREFIX }}/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE }}:latest
only-severities: critical,high only-severities: critical,high
ignore-unchanged: true ignore-unchanged: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}