File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11# ############################################
22# Build
33# ############################################
4- FROM --platform=$BUILDPLATFORM golang:1.22 -alpine as build
4+ FROM --platform=$BUILDPLATFORM golang:1.23 -alpine AS build
55
66RUN apk upgrade --no-cache --force
77RUN apk add --update build-base make git
@@ -21,7 +21,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build
2121# ############################################
2222# Test
2323# ############################################
24- FROM gcr.io/distroless/static as test
24+ FROM gcr.io/distroless/static AS test
2525USER 0:0
2626WORKDIR /app
2727COPY --from=build /go/src/github.com/webdevops/azure-metrics-exporter/azure-metrics-exporter .
@@ -30,7 +30,7 @@ RUN ["./azure-metrics-exporter", "--help"]
3030# ############################################
3131# final-static
3232# ############################################
33- FROM gcr.io/distroless/static as final-static
33+ FROM gcr.io/distroless/static AS final-static
3434ENV LOG_JSON=1
3535WORKDIR /
3636COPY --from=test /app .
Original file line number Diff line number Diff line change 11module github.com/webdevops/azure-metrics-exporter
22
3- go 1.22.0
4-
5- toolchain go1.23.1
3+ go 1.23
64
75require (
86 github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0
You can’t perform that action at this time.
0 commit comments