Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
- Bump Go version to Go 1.19

Signed-off-by: Waldemar Quevedo <[email protected]>
  • Loading branch information
wallyqs committed Aug 18, 2022
1 parent 44f1afd commit 9ecc6ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export GO111MODULE := on
drepo ?= natsio

prometheus-nats-exporter.docker:
CGO_ENABLED=0 GOOS=linux go build -o $@ -v -a
Expand All @@ -10,7 +11,7 @@ dockerx:
ifneq ($(ver),)
# Ensure 'docker buildx ls' shows correct platforms.
docker buildx build \
--tag natsio/prometheus-nats-exporter:$(ver) --tag natsio/prometheus-nats-exporter:latest \
--tag $(drepo)/prometheus-nats-exporter:$(ver) --tag $(drepo)/prometheus-nats-exporter:latest \
--platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 \
--file docker/linux/Dockerfile \
--push .
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 AS build
FROM golang:1.19 AS build
COPY . /go/src/prometheus-nats-exporter
WORKDIR /go/src/prometheus-nats-exporter
RUN make prometheus-nats-exporter.docker
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/nats-io/prometheus-nats-exporter/exporter"
)

var version = "0.9.3"
var version = "0.10.0"

// parseServerIDAndURL parses the url argument the optional id for the server ID.
func parseServerIDAndURL(urlArg string) (string, string, error) {
Expand Down

0 comments on commit 9ecc6ec

Please sign in to comment.