Skip to content

Commit

Permalink
Fix issues in goreleaser yaml
Browse files Browse the repository at this point in the history
For some reason when v0.32.2 was tagged, goreleaser was still trying to
build v0.32.2-rc.2 and caused some issue.
This commit is an attempt to fix it by removing "snapshot" section and
use the tag as the tag of docker image.

Signed-off-by: Daniel Jiang <[email protected]>
  • Loading branch information
reasonerjt committed Dec 19, 2024
1 parent 1c7c129 commit 14fcc0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ archives:
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .FullCommit }}"
changelog:
sort: asc
filters:
Expand All @@ -29,7 +27,7 @@ changelog:
- '^release'
dockers:
- image_templates:
- "docker.io/goharbor/harbor-scanner-trivy:{{ .Version }}"
- "docker.io/goharbor/harbor-scanner-trivy:{{ .Tag }}"
ids:
- scanner-trivy
build_flag_templates:
Expand Down

0 comments on commit 14fcc0f

Please sign in to comment.