File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22
2
- ARG RUNTIME=registry.redhat.io/ubi8 /ubi:latest@sha256:8bd1b6306f8164de7fb0974031a0f903bd3ab3e6bcab835854d3d9a1a74ea5db
1
+ ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23
2
+ ARG RUNTIME=registry.access. redhat.com/ubi9 /ubi-minimal :latest@sha256:e1c4703364c5cb58f5462575dc90345bcd934ddc45e6c32f9c162f2b5617681c
3
3
4
4
FROM $GO_BUILDER AS builder
5
5
@@ -9,16 +9,16 @@ COPY .konflux/patches patches/
9
9
RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; git apply ${f}; done
10
10
COPY head HEAD
11
11
ENV GODEBUG="http2server=0"
12
- RUN cd image/git-init && go build -ldflags="-X 'knative.dev/pkg/changeset.rev=${CHANGESET_REV:0:7} '" -mod=vendor -v -o /tmp/tektoncd-catalog-git-clone
12
+ RUN cd image/git-init && go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD) '" -mod=vendor -v -o /tmp/tektoncd-catalog-git-clone
13
13
14
14
FROM $RUNTIME
15
- ARG VERSION=git-init-1.14.6
15
+ ARG VERSION=git-init-next
16
16
17
17
ENV BINARY=git-init \
18
18
KO_APP=/ko-app \
19
19
KO_DATA_PATH=/kodata
20
20
21
- RUN dnf install -y openssh-clients git git-lfs shadow-utils
21
+ RUN microdnf install -y openssh-clients git git-lfs shadow-utils
22
22
23
23
COPY --from=builder /tmp/tektoncd-catalog-git-clone ${KO_APP}/${BINARY}
24
24
COPY head ${KO_DATA_PATH}/HEAD
You can’t perform that action at this time.
0 commit comments