Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 1 | name: Docker |
Varun Patil | e58bab2 | 2023-11-18 13:09:13 -0800 | [diff] [blame] | 2 | on: |
| 3 | push: |
Davide Pesavento | 8466717 | 2024-04-14 14:00:44 -0400 | [diff] [blame] | 4 | tags: |
| 5 | - 'ndn-cxx-*' |
| 6 | schedule: |
| 7 | # twice a month |
| 8 | - cron: '20 4 5,20 * *' |
Varun Patil | e58bab2 | 2023-11-18 13:09:13 -0800 | [diff] [blame] | 9 | workflow_dispatch: |
| 10 | |
Davide Pesavento | 6d4a653 | 2023-11-18 17:05:33 -0500 | [diff] [blame] | 11 | permissions: |
Davide Pesavento | 6d4a653 | 2023-11-18 17:05:33 -0500 | [diff] [blame] | 12 | packages: write |
Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 13 | id-token: write |
Varun Patil | e58bab2 | 2023-11-18 13:09:13 -0800 | [diff] [blame] | 14 | |
| 15 | jobs: |
Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 16 | 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 }} |