Davide Pesavento | 183e188 | 2024-04-09 15:56:32 -0400 | [diff] [blame] | 1 | name: Docker |
Varun Patil | 6ba08cd | 2023-11-18 13:54:52 -0800 | [diff] [blame] | 2 | on: |
| 3 | push: |
Davide Pesavento | 0f10b16 | 2024-04-14 18:12:02 -0400 | [diff] [blame] | 4 | tags: |
| 5 | - 'NFD-*' |
| 6 | schedule: |
| 7 | # twice a month |
| 8 | - cron: '20 8 5,20 * *' |
Varun Patil | 6ba08cd | 2023-11-18 13:54:52 -0800 | [diff] [blame] | 9 | workflow_dispatch: |
| 10 | |
| 11 | permissions: |
Varun Patil | 6ba08cd | 2023-11-18 13:54:52 -0800 | [diff] [blame] | 12 | packages: write |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 13 | id-token: write |
Varun Patil | 6ba08cd | 2023-11-18 13:54:52 -0800 | [diff] [blame] | 14 | |
| 15 | jobs: |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 16 | nfd-build: |
| 17 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 18 | with: |
| 19 | name: nfd-build |
| 20 | target: build |
Varun Patil | 23135a4 | 2023-11-18 15:12:42 -0800 | [diff] [blame] | 21 | nfd: |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 22 | needs: nfd-build |
| 23 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 24 | with: |
| 25 | name: nfd |
| 26 | target: nfd |
| 27 | contexts: build=docker-image://${{ needs.nfd-build.outputs.image }} |
| 28 | nfd-autoreg: |
| 29 | needs: nfd-build |
| 30 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 31 | with: |
| 32 | name: nfd-autoreg |
| 33 | target: nfd-autoreg |
| 34 | contexts: build=docker-image://${{ needs.nfd-build.outputs.image }} |
Varun Patil | 23135a4 | 2023-11-18 15:12:42 -0800 | [diff] [blame] | 35 | nfd-status-http-server: |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 36 | needs: nfd-build |
| 37 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 38 | with: |
| 39 | name: nfd-status-http-server |
| 40 | target: nfd-status-http-server |
| 41 | contexts: build=docker-image://${{ needs.nfd-build.outputs.image }} |