blob: 72eaefd03e000336bbc722942bcf4bfa8965102b [file] [log] [blame]
Davide Pesavento4b3aa4f2024-04-06 22:00:10 -04001name: Docker
Varun Patile58bab22023-11-18 13:09:13 -08002on:
3 push:
Davide Pesavento84667172024-04-14 14:00:44 -04004 tags:
5 - 'ndn-cxx-*'
6 schedule:
7 # twice a month
8 - cron: '20 4 5,20 * *'
Varun Patile58bab22023-11-18 13:09:13 -08009 workflow_dispatch:
10
Davide Pesavento6d4a6532023-11-18 17:05:33 -050011permissions:
Davide Pesavento6d4a6532023-11-18 17:05:33 -050012 packages: write
Davide Pesavento4b3aa4f2024-04-06 22:00:10 -040013 id-token: write
Varun Patile58bab22023-11-18 13:09:13 -080014
15jobs:
Davide Pesavento4b3aa4f2024-04-06 22:00:10 -040016 ndn-cxx-build:
17 uses: named-data/actions/.github/workflows/docker-image.yml@v1
18 with:
19 name: ndn-cxx-build
20 target: build
21 ndn-cxx-runtime:
22 needs: ndn-cxx-build
23 uses: named-data/actions/.github/workflows/docker-image.yml@v1
24 with:
25 name: ndn-cxx-runtime
26 target: runtime
27 contexts: build=docker-image://${{ needs.ndn-cxx-build.outputs.image }}