Skip to content

Deploy :edge on Schedule #145

Deploy :edge on Schedule

Deploy :edge on Schedule #145

name: 'Deploy :edge on Schedule'
on:
schedule:
- cron: 0 0 * * 5
permissions:
contents: read
packages: write
jobs:
build-images:
name: 'Build Images'
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_build.yml@master
with:
platforms: linux/amd64,linux/arm64
scan-image:

Check failure on line 18 in .github/workflows/scheduled_builds.yml

View workflow run for this annotation

GitHub Actions / Deploy :edge on Schedule

Invalid workflow file

The workflow is not valid. .github/workflows/scheduled_builds.yml (Line: 18, Col: 3): Error calling workflow 'docker-mailserver/docker-mailserver/.github/workflows/generic_vulnerability-scan.yml@master'. The nested job 'scan-image' is requesting 'security-events: write', but is only allowed 'security-events: none'.
name: 'Scan Image for Vulnerabilities'
needs: build-images
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_vulnerability-scan.yml@master
with:
cache-key: ${{ needs.build-images.outputs.build-cache-key }}
publish-images:
name: 'Publish Images'
needs: build-images
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_publish.yml@master
with:
cache-key: ${{ needs.build-images.outputs.build-cache-key }}
secrets: inherit