blob: a117fbe49fdc1544074fa65c26c346851733134a [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:
12 packages: write
13 id-token: write
14
15jobs:
Davide Pesavento6d00e0b2024-05-06 22:30:22 -040016 ndncert-build:
Varun Patil794dcbd2024-05-05 16:12:48 -070017 uses: named-data/actions/.github/workflows/docker-image.yml@v1
18 with:
Davide Pesavento6d00e0b2024-05-06 22:30:22 -040019 name: ndncert-build
20 target: build
21 ndncert-ca:
22 needs: ndncert-build
23 uses: named-data/actions/.github/workflows/docker-image.yml@v1
24 with:
25 name: ndncert-ca
26 target: ca
27 contexts: build=docker-image://${{ needs.ndncert-build.outputs.image }}
28 ndncert-client:
29 needs: ndncert-build
30 uses: named-data/actions/.github/workflows/docker-image.yml@v1
31 with:
32 name: ndncert-client
33 target: client
34 contexts: build=docker-image://${{ needs.ndncert-build.outputs.image }}