From 8afcf6f005db0537afd37e61ce63a5291c73861c Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Wed, 2 Oct 2024 14:31:01 -0600 Subject: [PATCH] Added dockers to build image and removed unnecessary file --- .goreleaser.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d5592d1..4a14820 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: