Varun Patil | 794dcbd | 2024-05-05 16:12:48 -0700 | [diff] [blame] | 1 | name: Docker |
| 2 | on: |
| 3 | push: |
| 4 | tags: |
| 5 | - 'v?[0-9]+.[0-9]+*' |
| 6 | schedule: |
| 7 | # twice a month |
| 8 | - cron: '20 11 5,20 * *' |
| 9 | workflow_dispatch: |
| 10 | |
| 11 | permissions: |
Davide Pesavento | 6a0f2d4 | 2024-05-08 17:06:11 -0400 | [diff] [blame] | 12 | attestations: write |
Varun Patil | 794dcbd | 2024-05-05 16:12:48 -0700 | [diff] [blame] | 13 | id-token: write |
Davide Pesavento | 6a0f2d4 | 2024-05-08 17:06:11 -0400 | [diff] [blame] | 14 | packages: write |
Varun Patil | 794dcbd | 2024-05-05 16:12:48 -0700 | [diff] [blame] | 15 | |
| 16 | jobs: |
Davide Pesavento | 6d00e0b | 2024-05-06 22:30:22 -0400 | [diff] [blame] | 17 | ndncert-build: |
Varun Patil | 794dcbd | 2024-05-05 16:12:48 -0700 | [diff] [blame] | 18 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 19 | with: |
Davide Pesavento | 6d00e0b | 2024-05-06 22:30:22 -0400 | [diff] [blame] | 20 | name: ndncert-build |
| 21 | target: build |
| 22 | ndncert-ca: |
| 23 | needs: ndncert-build |
| 24 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 25 | with: |
| 26 | name: ndncert-ca |
| 27 | target: ca |
| 28 | contexts: build=docker-image://${{ needs.ndncert-build.outputs.image }} |
| 29 | ndncert-client: |
| 30 | needs: ndncert-build |
| 31 | uses: named-data/actions/.github/workflows/docker-image.yml@v1 |
| 32 | with: |
| 33 | name: ndncert-client |
| 34 | target: client |
| 35 | contexts: build=docker-image://${{ needs.ndncert-build.outputs.image }} |