Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ GOFLAGS=-mod=vendor
GOLANGCI_VERSION ?= 2.6.2
REGISTRY ?= localhost
UPLOADREGISTRY ?= quay.io/validatedpatterns
GOLANGCI_IMG ?= docker.io/golangci/golangci-lint

# CI uses a non-writable home dir, make sure .cache is writable
ifeq ("${HOME}", "/")
Expand Down Expand Up @@ -178,7 +179,7 @@ buildah-push: ## Uploads the container to quay.io/validatedpatterns/${OPERATOR_I

.PHONY: golangci-lint
golangci-lint: apikey ## Run golangci-lint locally
podman run --pull=newer --rm -v $(PWD):/app:rw,z -w /app golangci/golangci-lint:v$(GOLANGCI_VERSION) golangci-lint run -v
podman run --pull=newer --rm -v $(PWD):/app:rw,z -w /app $(GOLANGCI_IMG):v$(GOLANGCI_VERSION) golangci-lint run -v

##@ Legacy docker tasks
.PHONY: docker-build
Expand Down