blob: 172f8d2f2bb0db73dc336df2fb27c915af4818d9 [file] [log] [blame]
Davide Pesavento183e1882024-04-09 15:56:32 -04001name: Docker
Varun Patil6ba08cd2023-11-18 13:54:52 -08002on:
3 push:
4 branches:
5 - master
6 paths-ignore:
Davide Pesavento183e1882024-04-09 15:56:32 -04007 - '.editorconfig'
Davide Pesaventocaa60cc2024-02-18 18:18:37 -05008 - '.jenkins'
9 - '.jenkins.d/**'
Davide Pesavento183e1882024-04-09 15:56:32 -040010 - 'launchd/**'
Varun Patil6ba08cd2023-11-18 13:54:52 -080011 - '.mailmap'
Davide Pesavento183e1882024-04-09 15:56:32 -040012 - 'systemd/**'
Davide Pesaventocaa60cc2024-02-18 18:18:37 -050013 - 'tests/**'
Varun Patil6ba08cd2023-11-18 13:54:52 -080014 workflow_dispatch:
15
16permissions:
Varun Patil6ba08cd2023-11-18 13:54:52 -080017 packages: write
Davide Pesavento2996cf02024-04-12 01:00:02 -040018 id-token: write
Varun Patil6ba08cd2023-11-18 13:54:52 -080019
20jobs:
Davide Pesavento2996cf02024-04-12 01:00:02 -040021 nfd-build:
22 uses: named-data/actions/.github/workflows/docker-image.yml@v1
23 with:
24 name: nfd-build
25 target: build
Varun Patil23135a42023-11-18 15:12:42 -080026 nfd:
Davide Pesavento2996cf02024-04-12 01:00:02 -040027 needs: nfd-build
28 uses: named-data/actions/.github/workflows/docker-image.yml@v1
29 with:
30 name: nfd
31 target: nfd
32 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}
33 nfd-autoreg:
34 needs: nfd-build
35 uses: named-data/actions/.github/workflows/docker-image.yml@v1
36 with:
37 name: nfd-autoreg
38 target: nfd-autoreg
39 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}
Varun Patil23135a42023-11-18 15:12:42 -080040 nfd-status-http-server:
Davide Pesavento2996cf02024-04-12 01:00:02 -040041 needs: nfd-build
42 uses: named-data/actions/.github/workflows/docker-image.yml@v1
43 with:
44 name: nfd-status-http-server
45 target: nfd-status-http-server
46 contexts: build=docker-image://${{ needs.nfd-build.outputs.image }}