We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24738c3 commit 784c261Copy full SHA for 784c261
1 file changed
Dockerfile
@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
14
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -installsuffix cgo \
15
-ldflags="-X github.com/version-cli/version/cmd.VERSION=${VERSION}" -o version
16
17
-FROM gcr.io/distroless/static:nonroot@sha256:2b7c93f6d6648c11f0e80a48558c8f77885eb0445213b8e69a6a0d7c89fc6ae4
+FROM gcr.io/distroless/static:nonroot@sha256:e3f945647ffb95b5839c07038d64f9811adf17308b9121d8a2b87b6a22a80a39
18
19
COPY --from=builder /src/version /bin/version
20
0 commit comments