Files
monibuca/goreleaser.yml
2022-04-24 10:27:50 +08:00

38 lines
1.2 KiB
YAML
Executable File

project_name: m7s
archives:
-
files:
- config.toml
builds:
- env: [CGO_ENABLED=0]
ignore:
- goos: windows
goarch: arm64
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
#dockers:
# - image_templates: ["ghcr.io/goreleaser/example:{{ .Version }}"]
# dockerfile: Dockerfile
# build_flag_templates:
# - --label=org.opencontainers.image.title={{ .ProjectName }}
# - --label=org.opencontainers.image.description={{ .ProjectName }}
# - --label=org.opencontainers.image.url=https://github.com/goreleaser/example
# - --label=org.opencontainers.image.source=https://github.com/goreleaser/example
# - --label=org.opencontainers.image.version={{ .Version }}
# - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
# - --label=org.opencontainers.image.revision={{ .FullCommit }}
# - --label=org.opencontainers.image.licenses=MIT
#nfpms:
# - maintainer: Carlos A Becker <root@carlosbecker.dev>
# description: Sample project.
# homepage: https://github.com/caarlos0/tasktimer
# license: MIT
# formats:
# - deb
# - rpm
# - apk