File tree Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,15 @@ name: Docker
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
6
- tags : [ ' v*.*.*' ]
5
+ tags :
6
+ - " v*.*.*"
7
7
8
8
env :
9
9
REGISTRY : ghcr.io
10
10
IMAGE_NAME : ${{ github.repository }}
11
11
12
-
13
12
jobs :
14
13
build :
15
-
16
14
runs-on : ubuntu-latest
17
15
permissions :
18
16
contents : read
39
37
uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
40
38
with :
41
39
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
42
-
40
+
43
41
- name : Set up Docker Buildx
44
42
id : buildx
45
43
uses : docker/setup-buildx-action@master
Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ name: Go
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - master
7
7
pull_request :
8
8
9
9
jobs :
10
10
build-and-release :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions/setup-go@v2
15
- with :
16
- go-version : 1.16
17
- - run : go build -v ./...
18
- - run : go test -v ./...
19
- - uses : go-semantic-release/action@v1
20
- if : ${{ github.ref == 'refs/heads/master' }}
21
- with :
22
- github-token : ${{ secrets.GITHUB_TOKEN }}
23
- allow-initial-development-versions : true
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-go@v2
15
+ with :
16
+ go-version : 1.16
17
+ - run : go build -v ./...
18
+ - run : go test -v ./...
19
+ - uses : go-semantic-release/action@v1
20
+ if : ${{ github.ref == 'refs/heads/master' }}
21
+ with :
22
+ github-token : ${{ secrets.GITHUB_TOKEN }}
23
+ allow-initial-development-versions : true
You can’t perform that action at this time.
0 commit comments