Skip to content

Commit af2281d

Browse files
Pin dependencies
1 parent 0b1fe90 commit af2281d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.20 as builder
2+
FROM golang:1.20@sha256:2afc3d802c3e23ff754705f1024e2f96950ef2a6d27e39b684cf720600325c9b as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests
@@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -o manager main.go
1919

2020
# Use distroless as minimal base image to package the manager binary
2121
# Refer to https://github.com/GoogleContainerTools/distroless for more details
22-
FROM registry.access.redhat.com/ubi8/ubi-minimal
22+
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:6825946f10e8c81586fa7815c4f06016af05cfc231d921ec9699402a6655d201
2323
WORKDIR /
2424
COPY --from=builder /workspace/manager .
2525
USER 65532:65532

ci.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal
1+
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:6825946f10e8c81586fa7815c4f06016af05cfc231d921ec9699402a6655d201
22
WORKDIR /
33
COPY bin/manager .
44
USER 65532:65532

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kind: Kustomization
1313
images:
1414
- name: controller
1515
newName: quay.io/redhat-cop/cert-utils-operator
16-
newTag: latest
16+
newTag: latest@sha256:0290e7b2800a5aa8eb57b0268908f2a20a93b16403c76df4c61021048161d6ff

0 commit comments

Comments
 (0)