forked from PowerDNS/pdns
51 lines (46 loc) · 1.61 KB
/
build-tags.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
---
name: Build packages for tags
on:
push:
tags:
- 'auth-*'
- 'dnsdist-*'
- 'rec-*'
permissions:
actions: read
id-token: write
contents: write
jobs:
call-build-packages-auth:
uses: PowerDNS/pdns/.github/workflows/build-packages.yml@master
if: startsWith(github.ref_name, 'auth')
with:
is_release: 'YES'
product: 'authoritative'
ref: ${{ github.ref_name }}
secrets:
DOWNLOADS_AUTOBUILT_SECRET: ${{ secrets.DOWNLOADS_AUTOBUILT_SECRET }}
DOWNLOADS_AUTOBUILT_RSYNCTARGET: ${{ secrets.DOWNLOADS_AUTOBUILT_RSYNCTARGET }}
DOWNLOADS_AUTOBUILT_HOSTKEY: ${{ secrets.DOWNLOADS_AUTOBUILT_HOSTKEY }}
call-build-packages-dnsdist:
uses: PowerDNS/pdns/.github/workflows/build-packages.yml@master
if: startsWith(github.ref_name, 'dnsdist')
with:
is_release: 'YES'
product: 'dnsdist'
ref: ${{ github.ref_name }}
secrets:
DOWNLOADS_AUTOBUILT_SECRET: ${{ secrets.DOWNLOADS_AUTOBUILT_SECRET }}
DOWNLOADS_AUTOBUILT_RSYNCTARGET: ${{ secrets.DOWNLOADS_AUTOBUILT_RSYNCTARGET }}
DOWNLOADS_AUTOBUILT_HOSTKEY: ${{ secrets.DOWNLOADS_AUTOBUILT_HOSTKEY }}
call-build-packages-rec:
uses: PowerDNS/pdns/.github/workflows/build-packages.yml@master
if: startsWith(github.ref_name, 'rec')
with:
is_release: 'YES'
product: 'recursor'
ref: ${{ github.ref_name }}
secrets:
DOWNLOADS_AUTOBUILT_SECRET: ${{ secrets.DOWNLOADS_AUTOBUILT_SECRET }}
DOWNLOADS_AUTOBUILT_RSYNCTARGET: ${{ secrets.DOWNLOADS_AUTOBUILT_RSYNCTARGET }}
DOWNLOADS_AUTOBUILT_HOSTKEY: ${{ secrets.DOWNLOADS_AUTOBUILT_HOSTKEY }}