Skip to content

Commit

Permalink
Update make file to use latest golang
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik-K-N committed Jun 7, 2023
1 parent 98ece7e commit 958c9e2
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/ocp/builder:rhel-8-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 958c9e2

Please sign in to comment.