mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fix docker building in goreleaser (by prerelease). (#1533)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
This commit is contained in:
parent
8e347ecfd6
commit
b6bd4cacea
@ -157,13 +157,7 @@ docker_manifests:
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
|
||||
- name_template: ghcr.io/opentofu/opentofu:{{ .Major }}
|
||||
image_templates:
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-amd64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
skip_push: auto # Skips the push on pre-release versions, like 1.6.1-alpha1. See https://goreleaser.com/customization/docker_manifest/#customization
|
||||
|
||||
- name_template: ghcr.io/opentofu/opentofu:latest
|
||||
image_templates:
|
||||
@ -171,7 +165,7 @@ docker_manifests:
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm64
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-arm
|
||||
- ghcr.io/opentofu/opentofu:{{ .Version }}-386
|
||||
skip_push: auto
|
||||
skip_push: auto # Skips the push on pre-release versions, like 1.6.1-alpha1. See https://goreleaser.com/customization/docker_manifest/#customization
|
||||
|
||||
nfpms:
|
||||
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}'
|
||||
|
Loading…
Reference in New Issue
Block a user