Skip to content
Commits on Source (8)
# Build the manager binary # Build the manager binary
FROM golang:1.23@sha256:45c8837b16499b4e0e52b62d4cfba7bf04fc651b7d9265f95010fe0beaec2626 AS builder FROM golang:1.24@sha256:10c131810f80a4802c49cab0961bbe18a16f4bb2fb99ef16deaa23e4246fc817 AS builder
ARG TARGETOS ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
ARG APP_VERSION ARG APP_VERSION
...@@ -35,7 +35,7 @@ RUN flags="-a -o gojump"; \ ...@@ -35,7 +35,7 @@ RUN flags="-a -o gojump"; \
# Use distroless as minimal base image to package the gojump binary # Use distroless as minimal base image to package the gojump binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details # Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot@sha256:188ddfb9e497f861177352057cb21913d840ecae6c843d39e00d44fa64daa51c FROM gcr.io/distroless/static:nonroot@sha256:627d6c5a23ad24e6bdff827f16c7b60e0289029b0c79e9f7ccd54ae3279fb45f
WORKDIR / WORKDIR /
COPY --from=builder /workspace/gojump . COPY --from=builder /workspace/gojump .
USER 65532:65532 USER 65532:65532
......
...@@ -11,7 +11,7 @@ commonAnnotations: ...@@ -11,7 +11,7 @@ commonAnnotations:
image: image:
fqin: registry.ethz.ch/hpc-registry/gojump fqin: registry.ethz.ch/hpc-registry/gojump
# renovate: datasource=docker depName=registry.ethz.ch/hpc-registry/gojump versioning=docker # renovate: datasource=docker depName=registry.ethz.ch/hpc-registry/gojump versioning=docker
tag: v0.1.2@sha256:2bada8042c8390b669c3bc871b8433d78240f95ab8fe1c3b2d09e9cf2b435a2e tag: v0.1.3@sha256:6b0ba60e789db695bc3a03b70cabf1fb016616c0a41a791536e8a8232aee6b10
# digest: sha256:XYZ*** # digest: sha256:XYZ***
resources: resources:
......
...@@ -2,13 +2,13 @@ module gitlab.ethz.ch/hpc-registry/gojump ...@@ -2,13 +2,13 @@ module gitlab.ethz.ch/hpc-registry/gojump
go 1.23.0 go 1.23.0
toolchain go1.24.3 toolchain go1.24.4
require ( require (
github.com/go-logr/logr v1.4.3 github.com/go-logr/logr v1.4.3
github.com/go-logr/zapr v1.3.0 github.com/go-logr/zapr v1.3.0
go.uber.org/zap v1.27.0 go.uber.org/zap v1.27.0
golang.org/x/crypto v0.38.0 golang.org/x/crypto v0.39.0
) )
require ( require (
......