feat: add apk, deb and rpm package build to goreleaser (#362)

Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
Thomas Schuetz 2023-09-11 13:24:56 +02:00 committed by GitHub
parent d1d7200a15
commit 8df7217aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,24 @@ docker_manifests:
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm
- ghcr.io/opentffoundation/opentf:{{ .Version }}-386
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}'
homepage: https://opentf.org
description: >-
OpenTF lets you declaratively manage your cloud infrastructure.
license: "MPL-2.0"
formats:
- deb
- rpm
- apk
bindir: /usr/bin
section: default
contents:
- src: ./LICENSE
dst: /usr/share/doc/nfpm/copyright
file_info:
mode: 0444
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"