Skip to content

Commit

Permalink
fix: Snapshot docker build via goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
qjcg committed Nov 27, 2022
1 parent 0ee5878 commit 7817bd5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ release:
builds:
- main: ./cmd/horeb
ldflags:
- -s -w -X main.Version={{.Version}}
- -s -w -X main.Version={{ .Version }}
env:
- CGO_ENABLED=0
# targets:
Expand All @@ -20,6 +20,7 @@ builds:
- linux
- darwin
goamd64:
- v1
- v3
hooks:
post:
Expand Down Expand Up @@ -47,7 +48,7 @@ nfpms:

dockers:
- image_templates:
- qjcg/horeb:{{ .Tag }}
- qjcg/horeb:{{ .Version }}
- qjcg/horeb:latest

sboms:
Expand Down

0 comments on commit 7817bd5

Please sign in to comment.