generated from AndreasAugustin/template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
46 lines (44 loc) · 1.12 KB
/
release.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
name: release
on:
push:
branches:
- main
jobs:
call_shellcheck:
uses: ./.github/workflows/shellcheck.yml
call_lint:
uses: ./.github/workflows/lint.yml
call_test_all:
uses: ./.github/workflows/test_all.yml
secrets: inherit
call_release_please:
needs:
- call_shellcheck
- call_lint
- call_test_all
permissions:
contents: write
pull-requests: write
uses: ./.github/workflows/release_please.yml
call_push_docker:
if: ${{ needs.call_release_please.outputs.release_created }}
needs:
- call_release_please
permissions:
contents: read
packages: write
uses: ./.github/workflows/push_docker.yml
with:
tag: ${{ needs.call_release_please.outputs.tag_name }}
secrets: inherit
call_release_test_docker_images:
if: ${{ needs.call_release_please.outputs.release_created }}
needs:
- call_push_docker
- call_release_please
permissions:
packages: read
uses: ./.github/workflows/release_test_docker_images.yml
with:
tag: ${{ needs.call_release_please.outputs.tag_name }}
secrets: inherit