File tree Expand file tree Collapse file tree 4 files changed +62
-52
lines changed Expand file tree Collapse file tree 4 files changed +62
-52
lines changed Original file line number Diff line number Diff line change 1
- name : Docker Image CI
1
+ name : build and release
2
2
3
3
on :
4
4
push :
5
5
tags :
6
6
- " v*.*.*"
7
7
8
8
jobs :
9
- docker-hub :
10
- runs-on : ubuntu-latest
11
- steps :
12
- -
13
- name : Checkout
14
- uses : actions/checkout@v4
15
- -
16
- name : Login to Docker Hub
17
- uses : docker/login-action@v3
18
- with :
19
- username : xcsoft
20
- password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
21
- -
22
- name : Set up Docker Build Context
23
- uses : docker/setup-buildx-action@v3
24
- -
25
- name : Build and push
26
- uses : docker/build-push-action@v5
27
- with :
28
- context : .
29
- file : ./Dockerfile
30
- push : true
31
- tags : xcsoft/busuanzi:${{ github.ref_name }}
32
-
33
- github-docker :
34
- runs-on : ubuntu-latest
35
- steps :
36
- - name : Checkout
37
- uses : actions/checkout@v4
38
-
39
- - name : Login to Docker Hub
40
- if : github.event_name != 'pull_request'
41
- uses : docker/login-action@v1
42
- with :
43
- registry : ghcr.io
44
- username : ${{ github.actor }}
45
- password : ${{ secrets.GITHUB_TOKEN }}
46
-
47
- - name : Set up Docker Build Context
48
- uses : docker/setup-buildx-action@v3
49
-
50
- - name : Build and push
51
- uses : docker/build-push-action@v5
52
- with :
53
- context : .
54
- file : ./Dockerfile
55
- push : true
56
- tags : ghcr.io/soxft/busuanzi:${{ github.ref_name }}
57
-
58
9
build :
59
10
runs-on : ubuntu-latest
60
11
steps :
Original file line number Diff line number Diff line change
1
+ name : Docker Image CI
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+ - " *-rc"
8
+ - " *-beta"
9
+ - " *-test"
10
+
11
+ jobs :
12
+ docker-hub :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ -
16
+ name : Checkout
17
+ uses : actions/checkout@v4
18
+ -
19
+ name : Login to Docker Hub
20
+ uses : docker/login-action@v3
21
+ with :
22
+ username : xcsoft
23
+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
24
+ -
25
+ name : Set up Docker Build Context
26
+ uses : docker/setup-buildx-action@v3
27
+ -
28
+ name : Build and push
29
+ uses : docker/build-push-action@v5
30
+ with :
31
+ context : .
32
+ file : ./Dockerfile
33
+ push : true
34
+ tags : xcsoft/busuanzi:${{ github.ref_name }}
35
+
36
+ github-docker :
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - name : Checkout
40
+ uses : actions/checkout@v4
41
+
42
+ - name : Login to Docker Hub
43
+ if : github.event_name != 'pull_request'
44
+ uses : docker/login-action@v1
45
+ with :
46
+ registry : ghcr.io
47
+ username : ${{ github.actor }}
48
+ password : ${{ secrets.GITHUB_TOKEN }}
49
+
50
+ - name : Set up Docker Build Context
51
+ uses : docker/setup-buildx-action@v3
52
+
53
+ - name : Build and push
54
+ uses : docker/build-push-action@v5
55
+ with :
56
+ context : .
57
+ file : ./Dockerfile
58
+ push : true
59
+ tags : ghcr.io/soxft/busuanzi:${{ github.ref_name }}
Original file line number Diff line number Diff line change 1
- name : Docker Build Test
1
+ name : Docker / Build Test
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
var (
11
11
configPath string
12
12
DistPath string
13
- VERSION = "2.8.0 "
13
+ VERSION = "2.8.1 "
14
14
)
15
15
16
16
func Init () {
You can’t perform that action at this time.
0 commit comments