forked from PowerDNS/pdns
-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (57 loc) · 2 KB
/
docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
name: 'Build Docker images'
on:
schedule:
- cron: '0 4 * * *'
permissions: # least privileges, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
contents: read
actions: read
jobs:
call-build-image-auth:
uses: PowerDNS/pdns/.github/workflows/build-docker-images.yml@master
if: ${{ vars.SCHEDULED_DOCKER }}
with:
product: auth
ref: ${{ github.ref_name }}
image-name: pdns-auth-master
image-tags: |-
latest
image-description: 'EXPERIMENTAL pdns auth image'
platforms: linux/amd64,linux/arm64/v8
push: true
secrets:
DOCKERHUB_ORGANIZATION_NAME: ${{ secrets.DOCKERHUB_ORGANIZATION_NAME }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
call-build-image-recursor:
uses: PowerDNS/pdns/.github/workflows/build-docker-images.yml@master
if: ${{ vars.SCHEDULED_DOCKER }}
with:
product: recursor
ref: ${{ github.ref_name }}
image-name: pdns-recursor-master
image-tags: |-
latest
image-description: 'EXPERIMENTAL pdns recursor image'
platforms: linux/amd64,linux/arm64/v8
push: true
secrets:
DOCKERHUB_ORGANIZATION_NAME: ${{ secrets.DOCKERHUB_ORGANIZATION_NAME }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
call-build-image-dnsdist:
uses: PowerDNS/pdns/.github/workflows/build-docker-images.yml@master
if: ${{ vars.SCHEDULED_DOCKER }}
with:
product: dnsdist
ref: ${{ github.ref_name }}
image-name: dnsdist-master
image-tags: |-
latest
image-description: 'EXPERIMENTAL dnsdist image'
platforms: linux/amd64,linux/arm64/v8
push: true
secrets:
DOCKERHUB_ORGANIZATION_NAME: ${{ secrets.DOCKERHUB_ORGANIZATION_NAME }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}