blob: f3442766b88b828680247d6e03924f9bcf502a9f [file] [log] [blame]
Davide Pesavento4b3aa4f2024-04-06 22:00:10 -04001name: Docker
Varun Patile58bab22023-11-18 13:09:13 -08002on:
3 push:
4 branches:
5 - master
Davide Pesavento6d4a6532023-11-18 17:05:33 -05006 paths-ignore:
Davide Pesaventoc0993b02024-04-01 15:44:18 -04007 - '.editorconfig'
8 - 'examples/**'
Davide Pesavento682b2af2024-02-23 21:25:41 -05009 - '.jenkins'
10 - '.jenkins.d/**'
Davide Pesavento6d4a6532023-11-18 17:05:33 -050011 - '.mailmap'
Davide Pesavento682b2af2024-02-23 21:25:41 -050012 - 'tests/**'
Varun Patile58bab22023-11-18 13:09:13 -080013 workflow_dispatch:
14
Davide Pesavento6d4a6532023-11-18 17:05:33 -050015permissions:
Davide Pesavento6d4a6532023-11-18 17:05:33 -050016 packages: write
Davide Pesavento4b3aa4f2024-04-06 22:00:10 -040017 id-token: write
Varun Patile58bab22023-11-18 13:09:13 -080018
19jobs:
Davide Pesavento4b3aa4f2024-04-06 22:00:10 -040020 ndn-cxx-build:
21 uses: named-data/actions/.github/workflows/docker-image.yml@v1
22 with:
23 name: ndn-cxx-build
24 target: build
25 ndn-cxx-runtime:
26 needs: ndn-cxx-build
27 uses: named-data/actions/.github/workflows/docker-image.yml@v1
28 with:
29 name: ndn-cxx-runtime
30 target: runtime
31 contexts: build=docker-image://${{ needs.ndn-cxx-build.outputs.image }}