blob: 492865a6750737ca9ea5858b55c786bb4dc76048 [file] [log] [blame]
Varun Patil794dcbd2024-05-05 16:12:48 -07001name: Docker
2on:
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
11permissions:
Davide Pesavento6a0f2d42024-05-08 17:06:11 -040012 attestations: write
Varun Patil794dcbd2024-05-05 16:12:48 -070013 id-token: write
Davide Pesavento6a0f2d42024-05-08 17:06:11 -040014 packages: write
Varun Patil794dcbd2024-05-05 16:12:48 -070015
16jobs:
Davide Pesavento6d00e0b2024-05-06 22:30:22 -040017 ndncert-build:
Varun Patil794dcbd2024-05-05 16:12:48 -070018 uses: named-data/actions/.github/workflows/docker-image.yml@v1
19 with:
Davide Pesavento6d00e0b2024-05-06 22:30:22 -040020 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 }}