Skip to content

Commit

Permalink
Merge pull request #47 from Karthik-K-N/update-makefile
Browse files Browse the repository at this point in the history
MULTIARCH-3668: Update make file to use latest golang
  • Loading branch information
deepsm007 committed Jun 14, 2023
2 parents 74e050e + 32e176a commit 8cfe9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -30,7 +30,7 @@ REPO_PATH ?= github.com/openshift/machine-api-provider-powervs
LD_FLAGS ?= -X $(REPO_PATH)/pkg/version.Raw=$(VERSION) -extldflags "-static"
MUTABLE_TAG ?= latest
IMAGE = origin-powervs-machine-controllers
BUILD_IMAGE ?= registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.19-openshift-4.12
BUILD_IMAGE ?= registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.20-openshift-4.14

NO_DOCKER ?= 0

Expand All @@ -55,7 +55,7 @@ ifeq ($(NO_DOCKER), 1)
DOCKER_CMD = CGO_ENABLED=$(CGO_ENABLED)
IMAGE_BUILD_CMD = imagebuilder
else
DOCKER_CMD := $(ENGINE) run --rm -e CGO_ENABLED=$(CGO_ENABLED) -v "$(PWD)":/go/src/github.com/openshift/machine-api-provider-powervs:Z -w /go/src/github.com/openshift/machine-api-provider-powervs $(BUILD_IMAGE)
DOCKER_CMD := $(ENGINE) run --rm -e CGO_ENABLED=$(CGO_ENABLED) -v "$(PWD)":/go/src/github.com/openshift/machine-api-provider-powervs -w /go/src/github.com/openshift/machine-api-provider-powervs $(BUILD_IMAGE)
IMAGE_BUILD_CMD = $(ENGINE) build
endif

Expand Down

0 comments on commit 8cfe9e7

Please sign in to comment.