Skip to content

Commit

Permalink
Merge pull request #285 from honza/makefile
Browse files Browse the repository at this point in the history
Stop linting when building the image
  • Loading branch information
openshift-merge-robot committed Aug 7, 2023
2 parents 47450be + f85bbb8 commit 8119b04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.ocp
@@ -1,7 +1,7 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.14 AS builder
WORKDIR /go/src/github.com/metal3-io/baremetal-operator
COPY . .
RUN CGO_ENABLED=0 GO111MODULE=on go build -a -o bin/baremetal-operator main.go
RUN make manager
RUN make tools
RUN make tools/bin/kustomize

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -106,7 +106,7 @@ manifest-lint: ## Run manifest validation
build: generate manifests manager tools ## Build everything

.PHONY: manager
manager: generate lint ## Build manager binary
manager: ## Build manager binary
go build -ldflags $(LDFLAGS) -o bin/$(OPERATOR_NAME) main.go

.PHONY: run
Expand Down

0 comments on commit 8119b04

Please sign in to comment.