diff --git a/Dockerfile b/Dockerfile index eb7d89dbc..cd20a7ddf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ COPY . . ENV GO_PACKAGE github.com/open-cluster-management/registration 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/registration/registration / diff --git a/Makefile b/Makefile index 4cce55860..a764db893 100644 --- a/Makefile +++ b/Makefile @@ -70,8 +70,6 @@ deploy-spoke: ensure-kustomize deploy-all: deploy-hub deploy-webhook bootstrap-secret deploy-spoke -build: build-e2e - build-e2e: go test -c ./test/e2e -mod=vendor