-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (43 loc) · 1.25 KB
/
docker-images.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build docker images
on:
push:
tags:
- "v*"
jobs:
build-witness:
uses: ./.github/workflows/build.yml
with:
component-name: witness
build-release-witness:
runs-on: ubuntu-latest
needs: build-witness
outputs:
img-tag: ${{ needs.build-witness.outputs.img-tag }}
steps:
- run: "echo ${{ needs.build-witness.outputs.img-tag }}"
build-watcher:
uses: ./.github/workflows/build.yml
with:
component-name: watcher
build-release-watcher:
runs-on: ubuntu-latest
needs: build-watcher
outputs:
img-tag: ${{ needs.build-watcher.outputs.img-tag }}
steps:
- run: "echo ${{ needs.build-watcher.outputs.img-tag }}"
release:
needs:
- build-release-witness
- build-release-watcher
runs-on: ubuntu-latest
steps:
- name: Release
uses: ncipollo/release-action@v1
with:
body: |
### Images
- Witness: [ ${{ needs.build-release-witness.outputs.img-tag }} ](https://${{needs.build-release-witness.outputs.img-tag}})
- Watcher: [ ${{ needs.build-release-watcher.outputs.img-tag }} ](https://${{needs.build-release-watcher.outputs.img-tag}})
removeArtifacts: true
artifacts: ""