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: |
Davide Pesavento | c4f8bd1 | 2024-05-10 22:16:02 -0400 | [diff] [blame] | 5 | - 'ndn-cxx-[0-9]+*' |
Davide Pesavento | 8466717 | 2024-04-14 14:00:44 -0400 | [diff] [blame] | 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 | 7a4697d | 2024-05-08 14:08:02 -0400 | [diff] [blame] | 12 | attestations: write |
Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 13 | id-token: write |
Davide Pesavento | 7a4697d | 2024-05-08 14:08:02 -0400 | [diff] [blame] | 14 | packages: write |
Varun Patil | e58bab2 | 2023-11-18 13:09:13 -0800 | [diff] [blame] | 15 | |
| 16 | jobs: |
Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 17 | ndn-cxx-build: |
| 18 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 19 | with: |
| 20 | name: ndn-cxx-build |
| 21 | target: build |
| 22 | ndn-cxx-runtime: |
| 23 | needs: ndn-cxx-build |
| 24 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 25 | with: |
| 26 | name: ndn-cxx-runtime |
| 27 | target: runtime |
| 28 | contexts: build=docker-image://${{ needs.ndn-cxx-build.outputs.image }} |