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: |
| 4 | branches: |
| 5 | - master |
Davide Pesavento | 6d4a653 | 2023-11-18 17:05:33 -0500 | [diff] [blame] | 6 | paths-ignore: |
Davide Pesavento | c0993b0 | 2024-04-01 15:44:18 -0400 | [diff] [blame] | 7 | - '.editorconfig' |
| 8 | - 'examples/**' |
Davide Pesavento | 682b2af | 2024-02-23 21:25:41 -0500 | [diff] [blame] | 9 | - '.jenkins' |
| 10 | - '.jenkins.d/**' |
Davide Pesavento | 6d4a653 | 2023-11-18 17:05:33 -0500 | [diff] [blame] | 11 | - '.mailmap' |
Davide Pesavento | 682b2af | 2024-02-23 21:25:41 -0500 | [diff] [blame] | 12 | - 'tests/**' |
Varun Patil | e58bab2 | 2023-11-18 13:09:13 -0800 | [diff] [blame] | 13 | workflow_dispatch: |
| 14 | |
Davide Pesavento | 6d4a653 | 2023-11-18 17:05:33 -0500 | [diff] [blame] | 15 | permissions: |
Davide Pesavento | 6d4a653 | 2023-11-18 17:05:33 -0500 | [diff] [blame] | 16 | packages: write |
Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 17 | id-token: write |
Varun Patil | e58bab2 | 2023-11-18 13:09:13 -0800 | [diff] [blame] | 18 | |
| 19 | jobs: |
Davide Pesavento | 4b3aa4f | 2024-04-06 22:00:10 -0400 | [diff] [blame] | 20 | 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 }} |