Add a login to the scan

This commit is contained in:
Daan Selen 2025-06-04 16:53:16 +02:00
parent 43070ab809
commit 9dc9e668c5

View File

@ -66,7 +66,7 @@ jobs:
type=raw,value=${{ env.SHORT_SHA }}
type=semver,pattern={{ version }}
type=semver,pattern=latest
- name: Print a message
run: echo "${{ steps.meta.outputs.tags }}"
@ -84,6 +84,13 @@ jobs:
runs-on: ubuntu-latest
needs: docker_build
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKERHUB_PREFIX }}
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Docker Scout CVEs
uses: docker/scout-action@v1
with: