Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MULTIARCH-3668: Update make file to use latest golang #47

Merged
merged 1 commit into from Jun 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
mkumatag marked this conversation as resolved.
Show resolved Hide resolved
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