Files
EagleCast/.goreleaser-nightly.yml
T

163 lines
5.3 KiB
YAML
Raw Normal View History

2026-07-09 10:03:32 -04:00
project_name: eaglecast
version: 2
snapshot:
version_template: "{{ .Env.EAGLECAST_VERSION }}"
# GoReleaser config for nightly builds
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- make build-frontend
builds:
- binary: eaglecast
main: ./cmd
goos:
- linux
- windows
- darwin
- freebsd
- openbsd
- netbsd
goarch:
- amd64
- arm64
- arm
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm
ldflags:
- -s -w -X "main.buildString=nightly ({{ .ShortCommit }} {{ .Date }}, {{ .Os }}/{{ .Arch }})" -X "main.versionString={{ .Env.EAGLECAST_VERSION }}"
hooks:
# stuff executables with static assets.
post: make pack-bin BIN={{ .Path }}
archives:
- format: tar.gz
name_template: "eaglecast_nightly_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- README.md
- LICENSE
2026-07-09 12:05:27 -04:00
- NOTICE
2026-07-09 10:03:32 -04:00
dockers:
- use: buildx
goos: linux
goarch: amd64
ids:
- eaglecast
image_templates:
2026-07-09 11:25:21 -04:00
- "source.offmarket.win/aleagle/eaglecast:nightly-amd64"
2026-07-09 10:03:32 -04:00
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.source=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.version=nightly
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0
2026-07-09 10:39:44 -04:00
dockerfile: Dockerfile.goreleaser
2026-07-09 10:03:32 -04:00
extra_files:
- config.toml.sample
- docker-entrypoint.sh
- use: buildx
goos: linux
goarch: arm64
ids:
- eaglecast
image_templates:
2026-07-09 11:25:21 -04:00
- "source.offmarket.win/aleagle/eaglecast:nightly-arm64v8"
2026-07-09 10:03:32 -04:00
build_flag_templates:
- --platform=linux/arm64/v8
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.source=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.version=nightly
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0
2026-07-09 10:39:44 -04:00
dockerfile: Dockerfile.goreleaser
2026-07-09 10:03:32 -04:00
extra_files:
- config.toml.sample
- docker-entrypoint.sh
- use: buildx
goos: linux
goarch: arm
goarm: 6
ids:
- eaglecast
image_templates:
2026-07-09 11:25:21 -04:00
- "source.offmarket.win/aleagle/eaglecast:nightly-armv6"
2026-07-09 10:03:32 -04:00
build_flag_templates:
- --platform=linux/arm/v6
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.source=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.version=nightly
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0
2026-07-09 10:39:44 -04:00
dockerfile: Dockerfile.goreleaser
2026-07-09 10:03:32 -04:00
extra_files:
- config.toml.sample
- docker-entrypoint.sh
- use: buildx
goos: linux
goarch: arm
goarm: 7
ids:
- eaglecast
image_templates:
2026-07-09 11:25:21 -04:00
- "source.offmarket.win/aleagle/eaglecast:nightly-armv7"
2026-07-09 10:03:32 -04:00
build_flag_templates:
- --platform=linux/arm/v7
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.source=https://source.offmarket.win/aleagle/EagleCast
- --label=org.opencontainers.image.version=nightly
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=AGPL-3.0
2026-07-09 10:39:44 -04:00
dockerfile: Dockerfile.goreleaser
2026-07-09 10:03:32 -04:00
extra_files:
- config.toml.sample
- docker-entrypoint.sh
docker_manifests:
2026-07-09 11:25:21 -04:00
- name_template: source.offmarket.win/aleagle/eaglecast:nightly
2026-07-09 10:03:32 -04:00
image_templates:
2026-07-09 11:25:21 -04:00
- source.offmarket.win/aleagle/eaglecast:nightly-amd64
- source.offmarket.win/aleagle/eaglecast:nightly-arm64v8
- source.offmarket.win/aleagle/eaglecast:nightly-armv6
- source.offmarket.win/aleagle/eaglecast:nightly-armv7
2026-07-09 10:03:32 -04:00
changelog:
disable: true
release:
prerelease: true
name_template: "Nightly Build"
header: |
## Nightly Build
> **Warning**: This is an automated nightly build from the master branch.
> It may contain bugs and breaking changes. Use at your own risk.
> For stable releases, please use a versioned release.
Built from commit: {{ .ShortCommit }}