Skip to content

Commit d6e58d7

Browse files
Pin dependencies
1 parent e9158d1 commit d6e58d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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.18 as builder
2+
FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests
@@ -23,7 +23,7 @@ RUN go install github.com/rjeczalik/cmd/[email protected] && \
2323

2424
# Use distroless as minimal base image to package the manager binary
2525
# Refer to https://github.com/GoogleContainerTools/distroless for more details
26-
FROM registry.access.redhat.com/ubi8/ubi
26+
FROM registry.access.redhat.com/ubi8/ubi@sha256:fc88b136e97b4160a74f4a4a8fd50965a286e855ac5a221a4bfdb2c9b765397a
2727
WORKDIR /
2828
COPY --from=builder /workspace/manager .
2929
COPY --from=builder /workspace/notify /usr/local/bin

ci.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.18 as builder
2+
FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da as builder
33

44
WORKDIR /workspace
55

@@ -8,7 +8,7 @@ RUN go install github.com/gen2brain/[email protected] && \
88
RUN go install github.com/rjeczalik/cmd/[email protected] && \
99
cp ${GOPATH}/bin/notify ./
1010

11-
FROM registry.access.redhat.com/ubi8/ubi
11+
FROM registry.access.redhat.com/ubi8/ubi@sha256:fc88b136e97b4160a74f4a4a8fd50965a286e855ac5a221a4bfdb2c9b765397a
1212
WORKDIR /
1313
COPY --from=builder /workspace/notify /usr/local/bin
1414
COPY --from=builder /workspace/keepalived_exporter /usr/local/bin

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/raffaelespazzoli/keepalived-operator
16-
newTag: latest
16+
newTag: latest@sha256:111529f93552866682ddb4c8ee43ad0f6371d220c8537a4b5e9e8a764aaf37fc

0 commit comments

Comments
 (0)