This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 21
21
with :
22
22
go-version : ' 1.21.0'
23
23
24
+ - name : Cache Go modules
25
+ uses : actions/cache@v1
26
+ with :
27
+ path : ~/go/pkg/mod
28
+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
29
+ restore-keys : |
30
+ ${{ runner.os }}-go-
31
+
24
32
- name : Build
25
33
run : go build -v .
26
34
Original file line number Diff line number Diff line change @@ -26,12 +26,13 @@ jobs:
26
26
with :
27
27
go-version : ' 1.21'
28
28
29
- - name : Authenticate to GitHub Container Registry
30
- uses : docker/login-action @v1
29
+ - name : Cache Go modules
30
+ uses : actions/cache @v1
31
31
with :
32
- registry : ghcr.io
33
- username : ${{ github.actor }}
34
- password : ${{ secrets.GITHUB_TOKEN }}
32
+ path : ~/go/pkg/mod
33
+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
34
+ restore-keys : |
35
+ ${{ runner.os }}-go-
35
36
36
37
- name : Import GPG key
37
38
id : import_gpg
Original file line number Diff line number Diff line change @@ -60,14 +60,6 @@ release:
60
60
prerelease : auto
61
61
mode : append
62
62
63
- dockers :
64
- - image_templates :
65
- - >-
66
- {{ .Env.DOCKER_REGISTRY }}/{{ .Env.DOCKER_IMAGE_NAME }}:{{ .Tag }}
67
- goos : linux
68
- goarch : amd64
69
- dockerfile : Dockerfile
70
-
71
63
checksum :
72
64
name_template : ' checksums.txt'
73
65
You can’t perform that action at this time.
0 commit comments