cosmium/.goreleaser.yaml

48 lines
1.2 KiB
YAML
Raw Normal View History

2024-02-26 20:41:33 +00:00
builds:
- binary: cosmium
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
release:
prerelease: auto
universal_binaries:
- replace: true
brews:
- name: cosmium
homepage: 'https://github.com/pikami/cosmium'
repository:
owner: pikami
name: homebrew-brew
2024-02-26 20:41:33 +00:00
commit_author:
name: pikami
email: git@pikami.org
2024-04-06 16:55:15 +01:00
dockers:
2024-04-06 17:14:37 +01:00
- image_templates:
- "ghcr.io/pikami/{{ .ProjectName }}:{{ .Version }}"
- "ghcr.io/pikami/{{ .ProjectName }}:latest"
2024-04-06 16:55:15 +01:00
dockerfile: Dockerfile
use: docker
build_flag_templates:
- "--platform=linux/amd64"
- "--pull"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.description=Lightweight Cosmos DB emulator"
- "--label=org.opencontainers.image.url=https://github.com/pikami/cosmium"
- "--label=org.opencontainers.image.source=https://github.com/pikami/cosmium"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
2024-02-26 20:41:33 +00:00
checksum:
name_template: 'checksums.txt'