File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ 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 _output/linux/$(go env GOARCH) /cluster-version-operator-tests.gz /tmp/build/
77
88FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
9- COPY --from=builder /tmp/build/cluster-version-operator /usr/bin/
9+ COPY --from=builder /tmp/build/cluster-version-operator /tmp/build/cluster-version-operator-tests.gz / usr/bin/
1010COPY install /manifests
1111COPY vendor/github.com/openshift/api/config/v1/zz_generated.crd-manifests/0000_00_cluster-version-operator_* /manifests/
1212COPY 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,10 @@ 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 _output/linux/$(go env GOARCH) /cluster-version-operator-tests.gz /tmp/build/
77
88FROM registry.ci.openshift.org/ocp/4.21:base-rhel9
9- COPY --from=builder /tmp/build/cluster-version-operator /usr/bin/
9+ COPY --from=builder /tmp/build/cluster-version-operator /tmp/build/cluster-version-operator-tests.gz / usr/bin/
1010COPY install /manifests
1111COPY vendor/github.com/openshift/api/config/v1/zz_generated.crd-manifests/0000_00_cluster-version-operator_* /manifests/
1212COPY 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