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: |
Davide Pesavento | f568c5e | 2024-05-08 15:14:08 -0400 | [diff] [blame] | 5 | - 'NFD-[0-9]+*' |
Davide Pesavento | 0f10b16 | 2024-04-14 18:12:02 -0400 | [diff] [blame] | 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: |
Davide Pesavento | f568c5e | 2024-05-08 15:14:08 -0400 | [diff] [blame] | 12 | attestations: write |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 13 | id-token: write |
Davide Pesavento | f568c5e | 2024-05-08 15:14:08 -0400 | [diff] [blame] | 14 | packages: write |
Varun Patil | 6ba08cd | 2023-11-18 13:54:52 -0800 | [diff] [blame] | 15 | |
| 16 | jobs: |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 17 | nfd-build: |
| 18 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 19 | with: |
| 20 | name: nfd-build |
| 21 | target: build |
Varun Patil | 23135a4 | 2023-11-18 15:12:42 -0800 | [diff] [blame] | 22 | nfd: |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 23 | needs: nfd-build |
| 24 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 25 | with: |
| 26 | name: nfd |
| 27 | target: nfd |
| 28 | contexts: build=docker-image://${{ needs.nfd-build.outputs.image }} |
| 29 | nfd-autoreg: |
| 30 | needs: nfd-build |
| 31 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 32 | with: |
| 33 | name: nfd-autoreg |
| 34 | target: nfd-autoreg |
| 35 | contexts: build=docker-image://${{ needs.nfd-build.outputs.image }} |
Varun Patil | 23135a4 | 2023-11-18 15:12:42 -0800 | [diff] [blame] | 36 | nfd-status-http-server: |
Davide Pesavento | 2996cf0 | 2024-04-12 01:00:02 -0400 | [diff] [blame] | 37 | needs: nfd-build |
| 38 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 39 | with: |
| 40 | name: nfd-status-http-server |
| 41 | target: nfd-status-http-server |
| 42 | contexts: build=docker-image://${{ needs.nfd-build.outputs.image }} |