diff --git a/Dockerfile b/Dockerfile index 78f7e83..501a005 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM docker.io/library/golang:1.21@sha256:2ff79bcdaff74368a9fdcb06f6599e54a71caf520fd2357a55feddd504bcaffb as builder +FROM docker.io/library/golang:1.22.7 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/api/go.mod b/api/go.mod index 8604ccb..5b699d8 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,6 +1,6 @@ module github.com/enterprise-contract/enterprise-contract-controller/api -go 1.22 +go 1.22 // allow require ( k8s.io/apiextensions-apiserver v0.29.9