Merge pull request #779 from DaanSelen/scanfix

Add a login to the scan
This commit is contained in:
Donald Zou 2025-06-04 23:29:55 +08:00 committed by GitHub
commit 3a2f744f0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: