2022-09-09 09:12:17 +00:00
|
|
|
name: 'Deploy :edge on Schedule'
|
2021-01-16 09:16:05 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2022-09-09 09:12:17 +00:00
|
|
|
- cron: 0 0 * * 5
|
2021-01-16 09:16:05 +00:00
|
|
|
|
2022-05-11 07:51:15 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
2022-09-09 09:12:17 +00:00
|
|
|
packages: write
|
2022-05-11 07:51:15 +00:00
|
|
|
|
2021-01-16 09:16:05 +00:00
|
|
|
jobs:
|
2022-09-09 09:12:17 +00:00
|
|
|
build-images:
|
|
|
|
name: 'Build Images'
|
|
|
|
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_build.yml@master
|
|
|
|
with:
|
2022-12-23 01:56:36 +00:00
|
|
|
platforms: linux/amd64,linux/arm64
|
2022-09-09 09:12:17 +00:00
|
|
|
|
2023-02-23 07:53:12 +00:00
|
|
|
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 }}
|
|
|
|
|
2022-09-09 09:12:17 +00:00
|
|
|
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
|