Skip to content

Commit 03a04a3

Browse files
committed
Pin digest where possible.
We will rely on dependabot to update those Signed-off-by: Soule <[email protected]>
1 parent c9ade1d commit 03a04a3

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
@@ -16,7 +16,7 @@
1616
ARG ARCH
1717

1818
# Build the manager binary
19-
FROM golang:1.23 as builder
19+
FROM golang:1.23sha256:540d3442f4758da82e787d03930bf6468cf6f8613474135e8946259b9e531ea0 as builder
2020

2121
WORKDIR /workspace
2222
# Add kubectl tool
@@ -49,7 +49,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
4949
--mount=type=cache,target=/root/.cache/go-build \
5050
CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} go build -ldflags="${LDFLAGS}" -gcflags="${GCFLAGS}" -o manager main.go
5151

52-
FROM --platform=linux/${ARCH} registry.access.redhat.com/ubi8-micro:8.8
52+
FROM --platform=linux/${ARCH} registry.access.redhat.com/ubi8-micro:8.10
5353

5454
ARG ARCH
5555

0 commit comments

Comments
 (0)