mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix nightly to have proper git commit and move to Go 1.17
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
@@ -5,7 +5,7 @@ builds:
|
|||||||
id: nats-server
|
id: nats-server
|
||||||
binary: nats-server
|
binary: nats-server
|
||||||
ldflags:
|
ldflags:
|
||||||
- -w -X github.com/nats-io/nats-server/server.gitCommit={{.ShortCommit}}
|
- -w -X github.com/nats-io/nats-server/v2/server.gitCommit={{.ShortCommit}}
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.16-alpine AS builder
|
FROM golang:1.17-alpine AS builder
|
||||||
|
|
||||||
ARG VERSION="nightly"
|
ARG VERSION="nightly"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user