docker-mailserver/.github/workflows/scheduled_builds.yml

32 lines
829 B
YAML

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:
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