diff --git a/.tekton/uhc-auth-proxy-pull-request.yaml b/.tekton/uhc-auth-proxy-pull-request.yaml index 3243927..ce7eea5 100644 --- a/.tekton/uhc-auth-proxy-pull-request.yaml +++ b/.tekton/uhc-auth-proxy-pull-request.yaml @@ -217,7 +217,7 @@ spec: # set the working directory to value from previous step workingDir: /var/workdir/source # Use image that suites your use case - image: registry.access.redhat.com/ubi8/go-toolset:latest + image: registry.access.redhat.com/ubi8/go-toolset:1.22.9-1.1736925145 securityContext: # If the task step needs write access to the volume, set the runAsUser to 0 (root). runAsUser: 0 diff --git a/Dockerfile b/Dockerfile index 18bc2e1..9591c9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ############################ # STEP 1 build executable binary ############################ -FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder +FROM registry.access.redhat.com/ubi8/go-toolset:1.22.9-1.1736925145 AS builder WORKDIR $GOPATH/src/mypackage/myapp/ COPY . . # Fetch dependencies. @@ -14,7 +14,7 @@ RUN CGO_ENABLED=0 go build -o /go/bin/uhc-auth-proxy ############################ # STEP 2 build a small image ############################ -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1179 # Copy our static executable. COPY --from=builder /go/bin/uhc-auth-proxy /go/bin/uhc-auth-proxy # Default port