mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Since we have never released with goreleaser and GO111MODULE=on and have removed vendor directory, we are going to push a v2.7.0-rc1 tag. If the goreleaser process works fine and submit the draft release correctly, we will not do an actual v2.7.0-rc1 release. Instead, we will follow up immediately with the v2.7.0 tag and the proper release. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
36 lines
755 B
YAML
36 lines
755 B
YAML
project_name: nats-server
|
|
|
|
builds:
|
|
- main: ./main.go
|
|
id: nats-server
|
|
binary: nats-server
|
|
ldflags:
|
|
- -w -X github.com/nats-io/nats-server/server.gitCommit={{.ShortCommit}}
|
|
env:
|
|
- GO111MODULE=on
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
|
|
dockers:
|
|
- goos: linux
|
|
goarch: amd64
|
|
skip_push: true
|
|
dockerfile: docker/Dockerfile.nightly
|
|
build_flag_templates:
|
|
- '--build-arg=VERSION=nightly-{{ time "20060102" }}'
|
|
image_templates:
|
|
- synadia/nats-server:{{.Version}}
|
|
- synadia/nats-server:nightly
|
|
extra_files:
|
|
- docker/nats-server.conf
|
|
|
|
checksum:
|
|
name_template: 'SHA256SUMS'
|
|
algorithm: sha256
|
|
|
|
snapshot:
|
|
name_template: 'nightly-{{ time "20060102" }}'
|