-
Notifications
You must be signed in to change notification settings - Fork 35
77 lines (76 loc) · 2.17 KB
/
release-drafter.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
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
name: Master Build
on:
push:
branches:
- master
jobs:
UpdateReleaseDraft:
runs-on: ubuntu-20.04
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GH_PUBLISH_SECRETS }}
PublishBackend:
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.17
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Login
run: |
docker login ghcr.io/opensource-f2f -u linuxsuren -p${{secrets.GH_PUBLISH_SECRETS}}
- name: Publish Image
run: |
make docker-build docker-push
PublishAPIServer:
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.17
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Login
run: |
docker login ghcr.io/opensource-f2f -u linuxsuren -p${{secrets.GH_PUBLISH_SECRETS}}
- name: Publish Image
run: |
make docker-build-apiserver docker-push-apiserver
PublishFrontend:
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.17
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Login
run: |
docker login ghcr.io/opensource-f2f -u linuxsuren -p${{secrets.GH_PUBLISH_SECRETS}}
- name: Publish Image
run: |
make docker-build-ui docker-push-ui
PublishCmd:
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.17
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Login
run: |
docker login ghcr.io/opensource-f2f -u linuxsuren -p${{secrets.GH_PUBLISH_SECRETS}}
- name: Publish Image
run: |
make docker-build-cmd docker-push-cmd