We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df7364 commit c9928e7Copy full SHA for c9928e7
.github/workflows/release.yml
@@ -21,7 +21,7 @@ jobs:
21
name: Set up Go
22
uses: actions/setup-go@v2
23
with:
24
- go-version: 1.17
+ go-version: 1.18
25
-
26
name: Run GoReleaser
27
uses: goreleaser/goreleaser-action@v2
Dockerfile
@@ -1,9 +1,9 @@
1
-FROM golang:alpine as builder
+FROM golang:1.18-alpine3.17 as builder
2
WORKDIR /go/src/app
3
COPY . .
4
RUN CGO_ENABLED=0 go install -ldflags '-extldflags "-static"'
5
6
-FROM scratch
+FROM alpine:3.17
7
COPY --from=builder /go/bin/near-exporter /near-exporter
8
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
9
ENTRYPOINT ["/near-exporter"]
0 commit comments