mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-16 22:27:34 +00:00
Merge pull request #51 from elgnay/separate-e2e-build
Build e2e binary separately
This commit is contained in:
@@ -2,7 +2,9 @@ FROM docker.io/openshift/origin-release:golang-1.14 AS builder
|
||||
WORKDIR /go/src/github.com/open-cluster-management/work
|
||||
COPY . .
|
||||
ENV GO_PACKAGE github.com/open-cluster-management/work
|
||||
|
||||
RUN make build --warn-undefined-variables
|
||||
RUN make build-e2e --warn-undefined-variables
|
||||
|
||||
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||
COPY --from=builder /go/src/github.com/open-cluster-management/work/work /
|
||||
|
||||
Reference in New Issue
Block a user