File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
# ############################################
2
2
# Build
3
3
# ############################################
4
- FROM --platform=$BUILDPLATFORM golang:1.22 -alpine as build
4
+ FROM --platform=$BUILDPLATFORM golang:1.23 -alpine AS build
5
5
6
6
RUN apk upgrade --no-cache --force
7
7
RUN apk add --update build-base make git
@@ -21,7 +21,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build
21
21
# ############################################
22
22
# Test
23
23
# ############################################
24
- FROM gcr.io/distroless/static as test
24
+ FROM gcr.io/distroless/static AS test
25
25
USER 0:0
26
26
WORKDIR /app
27
27
COPY --from=build /go/src/github.com/webdevops/azure-keyvault-exporter/azure-keyvault-exporter .
@@ -30,7 +30,7 @@ RUN ["./azure-keyvault-exporter", "--help"]
30
30
# ############################################
31
31
# Final
32
32
# ############################################
33
- FROM gcr.io/distroless/static as final-static
33
+ FROM gcr.io/distroless/static AS final-static
34
34
ENV LOG_JSON=1
35
35
WORKDIR /
36
36
COPY --from=test /app .
You can’t perform that action at this time.
0 commit comments