mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-11 18:00:59 -04:00
Update release process to release tofu binary (#456)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
project_name: opentf
|
||||
project_name: tofu
|
||||
|
||||
before:
|
||||
hooks:
|
||||
@@ -65,17 +65,17 @@ dockers:
|
||||
- "--pull"
|
||||
- "--platform=linux/amd64"
|
||||
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTF"
|
||||
- "--label=org.opencontainers.image.description=OpenTF {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentffoundation/opentf/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTofu"
|
||||
- "--label=org.opencontainers.image.description=OpenTofu {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentofu/opentofu/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.licenses=MPL-2.0"
|
||||
- "--label=org.opencontainers.image.version={{ .Version }}"
|
||||
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
|
||||
- "--label=org.opencontainers.image.created={{ time \"2006-01-02T15:04:05Z07:00\" }}"
|
||||
image_templates:
|
||||
- "ghcr.io/opentffoundation/opentf:{{ .Version }}-amd64"
|
||||
- "ghcr.io/opentofu/opentofu:{{ .Version }}-amd64"
|
||||
|
||||
- use: buildx
|
||||
goarch: arm64
|
||||
@@ -83,17 +83,17 @@ dockers:
|
||||
- "--pull"
|
||||
- "--platform=linux/arm64"
|
||||
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTF"
|
||||
- "--label=org.opencontainers.image.description=OpenTF {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentffoundation/opentf/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTofu"
|
||||
- "--label=org.opencontainers.image.description=OpenTofu {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentofu/opentofu/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.licenses=MPL-2.0"
|
||||
- "--label=org.opencontainers.image.version={{ .Version }}"
|
||||
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
|
||||
- "--label=org.opencontainers.image.created={{ time \"2006-01-02T15:04:05Z07:00\" }}"
|
||||
image_templates:
|
||||
- "ghcr.io/opentffoundation/opentf:{{ .Version }}-arm64"
|
||||
- "ghcr.io/opentofu/opentofu:{{ .Version }}-arm64"
|
||||
|
||||
- use: buildx
|
||||
goarch: arm
|
||||
@@ -101,17 +101,17 @@ dockers:
|
||||
- "--pull"
|
||||
- "--platform=linux/arm"
|
||||
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTF"
|
||||
- "--label=org.opencontainers.image.description=OpenTF {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentffoundation/opentf/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTofu"
|
||||
- "--label=org.opencontainers.image.description=OpenTofu {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentofu/opentofu/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.licenses=MPL-2.0"
|
||||
- "--label=org.opencontainers.image.version={{ .Version }}"
|
||||
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
|
||||
- "--label=org.opencontainers.image.created={{ time \"2006-01-02T15:04:05Z07:00\" }}"
|
||||
image_templates:
|
||||
- "ghcr.io/opentffoundation/opentf:{{ .Version }}-arm"
|
||||
- "ghcr.io/opentofu/opentofu:{{ .Version }}-arm"
|
||||
|
||||
- use: buildx
|
||||
goarch: "386"
|
||||
@@ -119,53 +119,53 @@ dockers:
|
||||
- "--pull"
|
||||
- "--platform=linux/386"
|
||||
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTF"
|
||||
- "--label=org.opencontainers.image.description=OpenTF {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentffoundation/opentf/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentffoundation/opentf"
|
||||
- "--label=org.opencontainers.image.vendor=OpenTofu"
|
||||
- "--label=org.opencontainers.image.description=OpenTofu {{ .Version }}"
|
||||
- "--label=org.opencontainers.image.url=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.documentation=https://github.com/opentofu/opentofu/blob/main/README.md"
|
||||
- "--label=org.opencontainers.image.source=https://github.com/opentofu/opentofu"
|
||||
- "--label=org.opencontainers.image.licenses=MPL-2.0"
|
||||
- "--label=org.opencontainers.image.version={{ .Version }}"
|
||||
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
|
||||
- "--label=org.opencontainers.image.created={{ time \"2006-01-02T15:04:05Z07:00\" }}"
|
||||
image_templates:
|
||||
- "ghcr.io/opentffoundation/opentf:{{ .Version }}-386"
|
||||
- "ghcr.io/opentofu/opentofu:{{ .Version }}-386"
|
||||
|
||||
docker_manifests:
|
||||
- name_template: ghcr.io/opentffoundation/opentf:{{ .Version }}
|
||||
- name_template: ghcr.io/opentofu/opentofu:{{ .Version }}
|
||||
image_templates:
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-amd64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-386
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-amd64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
|
||||
- name_template: ghcr.io/opentffoundation/opentf:{{ .Major }}.{{ .Minor }}
|
||||
- name_template: ghcr.io/opentofu/opentofu:{{ .Major }}.{{ .Minor }}
|
||||
image_templates:
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-amd64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-386
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-amd64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
|
||||
- name_template: ghcr.io/opentffoundation/opentf:{{ .Major }}
|
||||
- name_template: ghcr.io/opentofu/opentofu:{{ .Major }}
|
||||
image_templates:
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-amd64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-386
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-amd64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
|
||||
- name_template: ghcr.io/opentffoundation/opentf:latest
|
||||
- name_template: ghcr.io/opentofu/opentofu:latest
|
||||
image_templates:
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-amd64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm64
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-arm
|
||||
- ghcr.io/opentffoundation/opentf:{{ .Version }}-386
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-amd64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
|
||||
nfpms:
|
||||
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}'
|
||||
maintainer: 'https://github.com/orgs/opentffoundation/teams/opentf-core-team'
|
||||
homepage: https://opentf.org
|
||||
maintainer: 'https://github.com/orgs/opentofu/teams/opentf-core-team'
|
||||
homepage: https://opentofu.org
|
||||
description: >-
|
||||
OpenTF lets you declaratively manage your cloud infrastructure.
|
||||
OpenTofu lets you declaratively manage your cloud infrastructure.
|
||||
license: "MPL-2.0"
|
||||
formats:
|
||||
- deb
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
FROM alpine:3.18
|
||||
|
||||
LABEL maintainer="OpenTF Team <opentf@opentf.org>"
|
||||
LABEL maintainer="OpenTofu Team <opentf@opentf.org>"
|
||||
|
||||
COPY opentf /usr/local/bin/opentf
|
||||
COPY tofu /usr/local/bin/tofu
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/opentf"]
|
||||
ENTRYPOINT ["/usr/local/bin/tofu"]
|
||||
|
||||
Reference in New Issue
Block a user