File tree 1 file changed +19
-6
lines changed
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : Tag
2
+ name : Release
3
3
4
4
on :
5
- push :
6
- tags :
7
- - " * "
5
+ release :
6
+ types :
7
+ - released
8
8
9
9
env :
10
10
SCRIPTS_NO_INTERACTIVE : " true"
@@ -15,12 +15,25 @@ defaults:
15
15
16
16
jobs :
17
17
tag :
18
- name : Tag
18
+ name : Release
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- name : Checkout
22
22
uses : actions/checkout@v2
23
- - name : Tag
23
+ - name : Setup Golang
24
+ uses : actions/setup-go@v2
25
+ with :
26
+ go-version : " ^1.16"
27
+ - name : Build
28
+ run : make init
29
+ - name : Assets
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ run : |
33
+ curl --disable --silent --show-error --location --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/main/bootstrap" | bash -s -- "-c" "release"
34
+ export GIT_TAG="$(basename ${{ github.ref }})"
35
+ scripts/release build assets clean
36
+ - name : Docker
24
37
env :
25
38
DOCKER_USER : ${{ secrets.DOCKER_USER }}
26
39
DOCKER_PASS : ${{ secrets.DOCKER_PASS }}
You can’t perform that action at this time.
0 commit comments