blob: e054ec31bbd0e7579a65fda4d225bb551e1f6538 [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:
5 - 'NFD-*'
6 schedule:
7 # twice a month
8 - cron: '20 8 5,20 * *'
Varun Patil6ba08cd2023-11-18 13:54:52 -08009 workflow_dispatch:
10
11permissions:
Varun Patil6ba08cd2023-11-18 13:54:52 -080012 packages: write
Davide Pesavento2996cf02024-04-12 01:00:02 -040013 id-token: write
Varun Patil6ba08cd2023-11-18 13:54:52 -080014
15jobs:
Davide Pesavento2996cf02024-04-12 01:00:02 -040016 nfd-build:
17 uses: named-data/actions/.github/workflows/docker-image.yml@v1
18 with:
19 name: nfd-build
20 target: build
Varun Patil23135a42023-11-18 15:12:42 -080021 nfd:
Davide Pesavento2996cf02024-04-12 01:00:02 -040022 needs: nfd-build
23 uses: named-data/actions/.github/workflows/docker-image.yml@v1
24 with:
25 name: nfd
26 target: nfd
27 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}
28 nfd-autoreg:
29 needs: nfd-build
30 uses: named-data/actions/.github/workflows/docker-image.yml@v1
31 with:
32 name: nfd-autoreg
33 target: nfd-autoreg
34 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}
Varun Patil23135a42023-11-18 15:12:42 -080035 nfd-status-http-server:
Davide Pesavento2996cf02024-04-12 01:00:02 -040036 needs: nfd-build
37 uses: named-data/actions/.github/workflows/docker-image.yml@v1
38 with:
39 name: nfd-status-http-server
40 target: nfd-status-http-server
41 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}