From 8a09004842eb80846d34b9ed1e9c6c0ccf39e52d Mon Sep 17 00:00:00 2001 From: Karel Suta Date: Fri, 22 Dec 2023 10:35:00 +0100 Subject: [PATCH] Fix MCAD version in Makefile --- .github/workflows/tag-and-build.yml | 4 ++++ Makefile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag-and-build.yml b/.github/workflows/tag-and-build.yml index 038b77b0e..02c850f79 100644 --- a/.github/workflows/tag-and-build.yml +++ b/.github/workflows/tag-and-build.yml @@ -109,6 +109,10 @@ jobs: password: ${{ secrets.QUAY_TOKEN }} registry: quay.io + - name: Align go.mod and go.sum dependencies for released components + run: | + make modules + - name: Image Build and Push run: | make build diff --git a/Makefile b/Makefile index 3f0d0f52c..53c0d9af4 100644 --- a/Makefile +++ b/Makefile @@ -158,7 +158,7 @@ modules: ## Update Go dependencies. go mod tidy .PHONY: build -build: modules fmt vet ## Build manager binary. +build: fmt vet ## Build manager binary. go build \ -ldflags " \ -X 'main.OperatorVersion=$(BUILD_VERSION)' \ @@ -169,7 +169,7 @@ build: modules fmt vet ## Build manager binary. -o bin/manager main.go .PHONY: run -run: modules manifests fmt vet ## Run a controller from your host. +run: manifests fmt vet ## Run a controller from your host. go run ./main.go .PHONY: image-build