File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ WORKDIR /go/src/github.com/openshift/cluster-version-operator
33COPY . .
44RUN hack/build-go.sh; \
55 mkdir -p /tmp/build; \
6- cp _output/linux/$(go env GOARCH)/cluster-version-operator /tmp/build/cluster-version-operator
6+ cp _output/linux/$(go env GOARCH)/cluster-version-operator /tmp/build/cluster-version-operator; \
7+ cp _output/linux/$(go env GOARCH)/cluster-version-operator-tests.gz /tmp/build/cluster-version-operator-tests.gz
78
89FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
910COPY --from=builder /tmp/build/cluster-version-operator /usr/bin/
11+ COPY --from=builder /tmp/build/cluster-version-operator-tests.gz /usr/bin/
1012COPY install /manifests
1113COPY vendor/github.com/openshift/api/config/v1/zz_generated.crd-manifests/0000_00_cluster-version-operator_* /manifests/
1214COPY vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.crd-manifests/0000_00_cluster-version-operator_* /manifests/
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ WORKDIR /go/src/github.com/openshift/cluster-version-operator
33COPY . .
44RUN hack/build-go.sh; \
55 mkdir -p /tmp/build; \
6- cp _output/linux/$(go env GOARCH)/cluster-version-operator /tmp/build/cluster-version-operator
6+ cp _output/linux/$(go env GOARCH)/cluster-version-operator /tmp/build/cluster-version-operator; \
7+ cp _output/linux/$(go env GOARCH)/cluster-version-operator-tests.gz /tmp/build/cluster-version-operator-tests.gz
78
89FROM registry.ci.openshift.org/ocp/4.21:base-rhel9
910COPY --from=builder /tmp/build/cluster-version-operator /usr/bin/
11+ COPY --from=builder /tmp/build/cluster-version-operator-tests.gz /usr/bin/
1012COPY install /manifests
1113COPY vendor/github.com/openshift/api/config/v1/zz_generated.crd-manifests/0000_00_cluster-version-operator_* /manifests/
1214COPY vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.crd-manifests/0000_00_cluster-version-operator_* /manifests/
You can’t perform that action at this time.
0 commit comments