Skip to content

Commit

Permalink
Merge pull request #17 from OpenCHAMI/fix-goreleaser
Browse files Browse the repository at this point in the history
Fix .goreleaser to build release and package correctly
  • Loading branch information
davidallendj authored Oct 2, 2024
2 parents 8a1fa52 + 8afcf6f commit aaeac51
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,23 @@ archives:
- LICENSE
- CHANGELOG.md
- README.md
- configurator
dockers:
-
image_templates:
- ghcr.io/openchami/{{.ProjectName}}:latest
- ghcr.io/openchami/{{.ProjectName}}:{{ .Tag }}
- ghcr.io/openchami/{{.ProjectName}}:v{{ .Major }}
- ghcr.io/openchami/{{.ProjectName}}:v{{ .Major }}.{{ .Minor }}
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
extra_files:
- LICENSE
- CHANGELOG.md
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit aaeac51

Please sign in to comment.