diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf7256460..cd4a0372d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,9 +46,10 @@ jobs: - name: Generate Operator Manifests run: | - make clean operator-sdk - mkdir -p /tmp/apis/mattermost/v1alpha1 + make clean + make operator-sdk + mkdir -p /tmp/apis/mattermost/v1alpha1 cp -R apis/mattermost/v1alpha1/* /tmp/apis/mattermost/v1alpha1 mkdir -p /tmp/apis/mattermost/v1beta1 cp -R apis/mattermost/v1beta1/* /tmp/apis/mattermost/v1beta1 diff --git a/Makefile b/Makefile index 4c831a031..74114b845 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ BASE_IMAGE = gcr.io/distroless/static:nonroot ################################################################################ GO ?= $(shell command -v go 2> /dev/null) -PACKAGES=$(shell go list ./...) +PACKAGES=$(shell go list ./... | grep -v vendor) TEST_PACKAGES=$(shell go list ./...| grep -v test/e2e) OPERATOR_IMAGE ?= mattermost/mattermost-operator:test