blob: cc532893438ce9b90d402af3bcbb3a43cc2daa4a [file] [log] [blame]
Davide Pesavento183e1882024-04-09 15:56:32 -04001name: Docker
Varun Patil6ba08cd2023-11-18 13:54:52 -08002on:
3 push:
Davide Pesavento0f10b162024-04-14 18:12:02 -04004 tags:
Davide Pesaventof568c5e2024-05-08 15:14:08 -04005 - 'NFD-[0-9]+*'
Davide Pesavento0f10b162024-04-14 18:12:02 -04006 schedule:
7 # twice a month
8 - cron: '20 8 5,20 * *'
Varun Patil6ba08cd2023-11-18 13:54:52 -08009 workflow_dispatch:
10
11permissions:
Davide Pesaventof568c5e2024-05-08 15:14:08 -040012 attestations: write
Davide Pesavento2996cf02024-04-12 01:00:02 -040013 id-token: write
Davide Pesaventof568c5e2024-05-08 15:14:08 -040014 packages: write
Varun Patil6ba08cd2023-11-18 13:54:52 -080015
16jobs:
Davide Pesavento2996cf02024-04-12 01:00:02 -040017 nfd-build:
18 uses: named-data/actions/.github/workflows/docker-image.yml@v1
19 with:
20 name: nfd-build
21 target: build
Varun Patil23135a42023-11-18 15:12:42 -080022 nfd:
Davide Pesavento2996cf02024-04-12 01:00:02 -040023 needs: nfd-build
24 uses: named-data/actions/.github/workflows/docker-image.yml@v1
25 with:
26 name: nfd
27 target: nfd
28 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}
29 nfd-autoreg:
30 needs: nfd-build
31 uses: named-data/actions/.github/workflows/docker-image.yml@v1
32 with:
33 name: nfd-autoreg
34 target: nfd-autoreg
35 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}
Varun Patil23135a42023-11-18 15:12:42 -080036 nfd-status-http-server:
Davide Pesavento2996cf02024-04-12 01:00:02 -040037 needs: nfd-build
38 uses: named-data/actions/.github/workflows/docker-image.yml@v1
39 with:
40 name: nfd-status-http-server
41 target: nfd-status-http-server
42 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}