Skip to content

Commit feb87a1

Browse files
committed
fix wrong log format
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 54f6077 commit feb87a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN ["./azure-keyvault-exporter", "--help"]
3131
# final-azcli
3232
#############################################
3333
FROM mcr.microsoft.com/azure-cli AS final-azcli
34-
ENV LOG_JSON=1
34+
ENV LOG_FORMAT=json
3535
WORKDIR /
3636
COPY --from=test /app .
3737
USER 1000:1000
@@ -41,7 +41,7 @@ ENTRYPOINT ["/azure-keyvault-exporter"]
4141
# final-static
4242
#############################################
4343
FROM gcr.io/distroless/static AS final-static
44-
ENV LOG_JSON=1
44+
ENV LOG_FORMAT=json
4545
WORKDIR /
4646
COPY --from=test /app .
4747
USER 1000:1000

0 commit comments

Comments
 (0)