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