mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
34 lines
875 B
YAML
34 lines
875 B
YAML
name: 'Deploy :edge on Schedule'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 0 * * 5
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
security-events: 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 }}
|
|
secrets: inherit
|
|
|
|
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
|