File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed
Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Check out code
13- uses : actions/checkout@v1
13+ uses : actions/checkout@v3
14+ with :
15+ fetch-depth : 0
16+
17+ - uses : actions/setup-go@v4
18+ with :
19+ go-version : 1.19
20+
21+ - name : " Docker login"
22+ run : docker login ghcr.io -u docker -p ${{ secrets.GITHUB_TOKEN }}
1423
1524 - name : Validates GO releaser config
1625 uses : docker://goreleaser/goreleaser:latest
Original file line number Diff line number Diff line change @@ -7,20 +7,24 @@ before:
77builds :
88- env :
99 - CGO_ENABLED=0
10- archives :
11- - replacements :
12- darwin : Darwin
13- linux : Linux
14- windows : Windows
15- 386 : i386
16- amd64 : x86_64
1710checksum :
1811 name_template : ' checksums.txt'
1912snapshot :
20- name_template : " {{ .Tag }}-next "
13+ name_template : " {{ .Tag }}-{{ .ShortCommit }} "
2114changelog :
2215 sort : asc
2316 filters :
2417 exclude :
2518 - ' ^docs:'
2619 - ' ^test:'
20+ dockers :
21+ - id : mixin-cli
22+ goos : linux
23+ goarch : amd64
24+ dockerfile : docker/Dockerfile
25+ image_templates :
26+ - " ghcr.io/fox-one/{{ .ProjectName }}/mixin-cli:latest"
27+ - " ghcr.io/fox-one/{{ .ProjectName }}/mixin-cli:{{ .Major }}"
28+ - " ghcr.io/fox-one/{{ .ProjectName }}/mixin-cli:{{ .Major }}.{{ .Minor }}"
29+ - " ghcr.io/fox-one/{{ .ProjectName }}/mixin-cli:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
30+
You can’t perform that action at this time.
0 commit comments