-
Notifications
You must be signed in to change notification settings - Fork 117
82 lines (70 loc) · 1.75 KB
/
create-release.yaml
File metadata and controls
82 lines (70 loc) · 1.75 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Create Release
# Run for new release tags only
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+'
- 'v[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# CI checks run in parallel with builds — they don't block each other,
# but both must pass before the release is created.
lint:
name: Golang CI Lint
uses: ./.github/workflows/golangci-lint.yaml
secrets: inherit
update-swagger:
name: Update Swagger
uses: ./.github/workflows/update-swagger.yaml
secrets: inherit
unit-tests:
name: Go Unit Tests
uses: ./.github/workflows/tests.yaml
secrets: inherit
build-darwin:
name: Build Darwin Binaries
uses: ./.github/workflows/binaries-darwin.yaml
secrets: inherit
build-linux:
name: Build Linux Binaries
uses: ./.github/workflows/binaries-linux.yaml
secrets: inherit
build-docker:
name: Build Docker Images
needs:
- build-darwin
- build-linux
uses: ./.github/workflows/docker-build.yaml
secrets: inherit
push-docker:
name: Push Docker Images
needs:
- build-docker
uses: ./.github/workflows/docker-push.yaml
secrets: inherit
docker-scout:
name: Docker Scout
needs:
- build-docker
uses: ./.github/workflows/docker-scout.yaml
secrets: inherit
e2e-tests:
name: E2E tests
needs:
- build-docker
uses: ./.github/workflows/e2e-tests.yaml
secrets: inherit
create-release:
name: Create GitHub Release
needs:
- lint
- update-swagger
- unit-tests
- push-docker
- docker-scout
- e2e-tests
uses: ./.github/workflows/exec-goreleaser.yaml
secrets: inherit