2021-02-18 20:38:32 +00:00
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name : step-ca
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
before :
hooks :
# You may remove this if you don't use go modules.
- go mod download
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
builds :
-
2021-02-18 22:04:28 +00:00
id : step-ca
2021-02-18 20:38:32 +00:00
env :
- CGO_ENABLED=0
goos :
- linux
- darwin
2021-03-10 23:46:43 +00:00
- windows
2021-02-18 20:38:32 +00:00
goarch :
- amd64
- arm
- arm64
- 386
goarm :
2021-05-10 16:59:33 +00:00
- 6
2021-02-18 20:38:32 +00:00
- 7
2021-03-10 23:46:43 +00:00
ignore :
- goos : windows
goarch : 386
2021-05-10 23:36:02 +00:00
- goos : windows
goarm : 6
- goos : windows
goarm : 7
2021-02-18 20:38:32 +00:00
flags :
- -trimpath
main : ./cmd/step-ca/main.go
2021-02-18 22:28:17 +00:00
binary : bin/step-ca
2021-02-18 20:38:32 +00:00
ldflags :
- -w -X main.Version={{.Version}} -X main.BuildTime={{.Date}}
-
2021-02-18 22:04:28 +00:00
id : step-cloudkms-init
2021-02-18 20:38:32 +00:00
env :
- CGO_ENABLED=0
goos :
- linux
- darwin
2021-03-10 23:46:43 +00:00
- windows
2021-02-18 20:38:32 +00:00
goarch :
- amd64
- arm
- arm64
- 386
goarm :
2021-05-10 23:36:02 +00:00
- 6
2021-02-18 20:38:32 +00:00
- 7
2021-03-10 23:46:43 +00:00
ignore :
- goos : windows
goarch : 386
2021-05-10 23:36:02 +00:00
- goos : windows
goarm : 6
- goos : windows
goarm : 7
2021-02-18 20:38:32 +00:00
flags :
- -trimpath
main : ./cmd/step-cloudkms-init/main.go
binary : bin/step-cloudkms-init
ldflags :
- -w -X main.Version={{.Version}} -X main.BuildTime={{.Date}}
-
2021-02-18 22:04:28 +00:00
id : step-awskms-init
2021-02-18 20:38:32 +00:00
env :
- CGO_ENABLED=0
goos :
- linux
- darwin
2021-03-10 23:46:43 +00:00
- windows
2021-02-18 20:38:32 +00:00
goarch :
- amd64
- arm
- arm64
- 386
goarm :
2021-05-10 23:36:02 +00:00
- 6
2021-02-18 20:38:32 +00:00
- 7
2021-03-10 23:46:43 +00:00
ignore :
- goos : windows
goarch : 386
2021-05-10 23:36:02 +00:00
- goos : windows
goarm : 6
- goos : windows
goarm : 7
2021-02-18 20:38:32 +00:00
flags :
- -trimpath
main : ./cmd/step-awskms-init/main.go
binary : bin/step-awskms-init
ldflags :
- -w -X main.Version={{.Version}} -X main.BuildTime={{.Date}}
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
archives :
-
# Can be used to change the archive formats for specific GOOSs.
# Most common use case is to archive as zip on Windows.
# Default is empty.
name_template : "{{ .ProjectName }}_{{ .Os }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
2021-05-10 23:58:20 +00:00
format_overrides :
- goos : windows
format : zip
2021-02-18 20:38:32 +00:00
wrap_in_directory : "{{ .ProjectName }}_{{ .Version }}"
files :
- README.md
- LICENSE
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
source :
enabled : true
name_template : '{{ .ProjectName }}_{{ .Version }}'
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
checksum :
name_template : 'checksums.txt'
2021-09-07 18:28:16 +00:00
extra_files :
- glob : ./.releases/*
2021-08-30 23:52:40 +00:00
signs :
- cmd : cosign
stdin : '{{ .Env.COSIGN_PWD }}'
args : [ "sign-blob" , "-key=/tmp/cosign.key" , "-output=${signature}" , "${artifact}" ]
artifacts : all
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
snapshot :
name_template : "{{ .Tag }}-next"
2021-09-07 18:28:16 +00:00
2021-02-18 20:38:32 +00:00
release :
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
# Note: it can only be one: either github, gitlab or gitea
github :
owner : smallstep
name : certificates
# IDs of the archives to use.
# Defaults to all.
#ids:
# - foo
# - bar
# If set to true, will not auto-publish the release.
# Default is false.
2021-03-15 19:27:29 +00:00
draft : false
2021-02-18 20:38:32 +00:00
# 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.
2021-03-15 19:27:29 +00:00
prerelease : auto
2021-02-18 20:38:32 +00:00
# You can change the name of the release.
# Default is `{{.Tag}}`
#name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}"
# You can disable this pipe in order to not upload any artifacts.
# Defaults to false.
#disable: true
# You can add extra pre-existing files to the release.
# The filename on the release will be the last part of the path (base). If
# another file with the same name exists, the latest one found will be used.
# Defaults to empty.
2021-09-07 18:28:16 +00:00
extra_files :
- glob : ./.releases/*
2021-02-18 20:38:32 +00:00
#extra_files:
# - glob: ./path/to/file.txt
# - glob: ./glob/**/to/**/file/**/*
# - glob: ./glob/foo/to/bar/file/foobar/override_from_previous
2021-03-15 18:00:42 +00:00
scoop :
# Template for the url which is determined by the given Token (github or gitlab)
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}"
# Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
url_template : "http://github.com/smallstep/certificates/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# Repository to push the app manifest to.
bucket :
owner : smallstep
name : scoop-bucket
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# Git author used to commit to the repository.
# Defaults are shown.
commit_author :
name : goreleaserbot
email : goreleaser@smallstep.com
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# The project name and current git tag are used in the format string.
commit_msg_template : "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# Your app's homepage.
# Default is empty.
homepage : "https://smallstep.com/docs/step-ca"
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# Skip uploads for prerelease.
skip_upload : auto
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# Your app's description.
# Default is empty.
description : "A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH."
2021-03-10 23:46:43 +00:00
2021-03-15 18:00:42 +00:00
# Your app's license
# Default is empty.
license : "Apache-2.0"
2021-02-18 20:38:32 +00:00
#dockers:
# - dockerfile: docker/Dockerfile
# goos: linux
# goarch: amd64
# use_buildx: true
# image_templates:
# - "smallstep/step-cli:latest"
# - "smallstep/step-cli:{{ .Tag }}"
# build_flag_templates:
# - "--platform=linux/amd64"
# - dockerfile: docker/Dockerfile
# goos: linux
# goarch: 386
# use_buildx: true
# image_templates:
# - "smallstep/step-cli:latest"
# - "smallstep/step-cli:{{ .Tag }}"
# build_flag_templates:
# - "--platform=linux/386"
# - dockerfile: docker/Dockerfile
# goos: linux
# goarch: arm
# goarm: 7
# use_buildx: true
# image_templates:
# - "smallstep/step-cli:latest"
# - "smallstep/step-cli:{{ .Tag }}"
# build_flag_templates:
# - "--platform=linux/arm/v7"
# - dockerfile: docker/Dockerfile
# goos: linux
# goarch: arm64
# use_buildx: true
# image_templates:
# - "smallstep/step-cli:latest"
# - "smallstep/step-cli:{{ .Tag }}"
# build_flag_templates:
# - "--platform=linux/arm64/v8"