ci: fix scheduled build permissions (#3345)

This commit is contained in:
Georg Lauterbach 2023-05-15 20:35:00 +02:00 committed by GitHub
parent 7453bc096b
commit e82f0f2527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ on:
permissions:
contents: read
packages: write
security-events: write
jobs:
build-images:
@ -21,6 +22,7 @@ jobs:
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_vulnerability-scan.yml@master
with:
cache-key: ${{ needs.build-images.outputs.build-cache-key }}
secrets: inherit
publish-images:
name: 'Publish Images'