Skip to content

Commit bbab531

Browse files
committed
gorelease: update image tags
Signed-off-by: Greg Osuri <me@gregosuri.com>
1 parent b00081c commit bbab531

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

.goreleaser.yml

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# See documentation at http://goreleaser.com
22
builds:
3-
43
- binary: akash
54
main: ./cmd/akash
6-
goarch: [amd64, arm64]
5+
goarch: [amd64]
76
goos: [linux,darwin,windows]
87
ldflags: -s -w -X github.com/ovrclk/akash/version.version={{.Version}} -X github.com/ovrclk/akash/version.commit={{.Commit}} -X github.com/ovrclk/akash/version.date={{.Date}}
98

@@ -17,25 +16,39 @@ archive:
1716
files:
1817
- none*
1918

20-
dockers:
19+
checksum:
20+
# You can change the name of the checksums file.
21+
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
22+
name_template: "{{ .ProjectName }}_checksums.txt"
2123

22-
- binary: akash
23-
image: ovrclk/akash
24+
# Algorithm to be used.
25+
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
26+
# Default is sha256.
27+
algorithm: sha256
28+
29+
dockers:
30+
- binaries:
31+
- akash
2432
dockerfile: _build/Dockerfile.akash
2533
goos: linux
2634
goarch: amd64
27-
tag_templates:
28-
- "{{ .Version }}"
29-
- latest
35+
image_templates:
36+
- "ovrclk/akash:latest"
37+
- "ovrclk/akash:{{ .Tag }}"
38+
- "ovrclk/akash:v{{ .Major }}"
39+
- "ovrclk/akash:v{{ .Major }}{{ .Minor }}"
3040

31-
- binary: akashd
32-
image: ovrclk/akashd
41+
- binaries:
42+
- akashd
3343
dockerfile: _build/Dockerfile.akashd
3444
goos: linux
3545
goarch: amd64
36-
tag_templates:
37-
- "{{ .Version }}"
38-
- latest
46+
image_templates:
47+
- "ovrclk/akashd:latest"
48+
- "ovrclk/akashd:{{ .Tag }}"
49+
- "ovrclk/akashd:{{ .Tag }}"
50+
- "ovrclk/akashd:v{{ .Major }}"
51+
- "ovrclk/akashd:v{{ .Major }}{{ .Minor }}"
3952

4053
brew:
4154
name: akash
@@ -55,5 +68,5 @@ release:
5568
github:
5669
owner: ovrclk
5770
name: akash
58-
prerelease: true
71+
prerelease: auto
5972
draft: false

0 commit comments

Comments
 (0)