Skip to content

Commit

Permalink
Update goreleaser docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
RW21 committed Jul 2, 2022
1 parent 9aa4ed8 commit 5107783
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ before:

dockers:
- use: buildx
id: switchbot
goos: linux
goarch: amd64
image_templates:
- "rw21/{{ .ProjectName }}:{{ .Version }}-amd64"
build_flag_templates:
- "--GOARCH=amd64"
- "--GOOS=linux"
skip_push: true

# archives:
# - replacements:
# darwin: Darwin
# linux: Linux
# windows: Windows
# 386: i386
# amd64: x86_64
docker_manifests:
- name_template: rw21/{{ .ProjectName }}:{{ .Version }}
image_templates:
- "rw21/{{ .ProjectName }}:{{ .Version }}-amd64"
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 5107783

Please sign in to comment.