diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fba26ac35c..32dfa8f9db 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -5,6 +5,10 @@ release: owner: zitadel name: zitadel draft: false + # If set to auto, will mark the release as not ready for production + # in case there is an indicator for this in the tag e.g. v1.0.0-rc1 + # If set to true, will mark the release as not ready for production. + # Default is false. prerelease: auto before: @@ -43,6 +47,14 @@ dockers: dockerfile: build/Dockerfile build_flag_templates: - "--platform=linux/amd64" + # Skips the docker push. + # Could be useful if you also do draft releases. + # + # If set to auto, the release will not be pushed to the Docker repository + # in case there is an indicator of a prerelease in the tag, e.g. v1.0.0-rc1. + # + # Defaults to false. + skip_push: auto - image_templates: - ghcr.io/zitadel/zitadel:{{ .Tag }}-arm64 - ghcr.io/zitadel/zitadel:{{ .ShortCommit }}-arm64 @@ -51,6 +63,7 @@ dockers: dockerfile: build/Dockerfile build_flag_templates: - "--platform=linux/arm64" + skip_push: auto docker_manifests: - id: zitadel-latest @@ -58,6 +71,8 @@ docker_manifests: image_templates: - ghcr.io/zitadel/zitadel:{{ .Tag }}-amd64 - ghcr.io/zitadel/zitadel:{{ .Tag }}-arm64 + # Skips can and shall be set for individual manifests same as in dockers + skip_push: auto - id: zitadel-Tag name_template: ghcr.io/zitadel/zitadel:{{ .Tag }} image_templates: @@ -111,6 +126,10 @@ brews: - name: git install: |- bin.install "zitadel" + # If set to auto, the release will not be uploaded to the homebrew tap + # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 + # Default is false. + skip_upload: auto announce: discord: