Skip to content

Commit 181dda8

Browse files
Pin dependencies
1 parent 8eaa74b commit 181dda8

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.21 as builder
2+
FROM golang:1.21@sha256:4746d26432a9117a5f58e95cb9f954ddf0de128e9d5816886514199316e4a2fb 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/ubi9/ubi-minimal
22+
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:a50731d3397a4ee28583f1699842183d4d24fadcc565c4688487af9ee4e13a44
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/ubi9/ubi-minimal
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:a50731d3397a4ee28583f1699842183d4d24fadcc565c4688487af9ee4e13a44
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/namespace-configuration-operator
16-
newTag: latest
16+
newTag: latest@sha256:8d5a8cbc5263e7d9b3cfdce7c26392bdd0ded74c670f8c58f19b2dd9e7cd3ba9

0 commit comments

Comments
 (0)