Skip to content

Commit

Permalink
use go 1.20 when creating capi manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
tatlat committed Sep 6, 2023
1 parent 478fd44 commit a69b464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion projects/kubernetes-sigs/cluster-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cluster-api-docker-controller/images/%: BASE_IMAGE_NAME=eks-distro-minimal-base

.PHONY: create-manifests
create-manifests: tarballs
build/create_manifests.sh $(REPO) $(OUTPUT_DIR) $(ARTIFACTS_PATH) $(GIT_TAG) $(IMAGE_REPO) $(IMAGE_TAG)
build/create_manifests.sh $(REPO) $(OUTPUT_DIR) $(ARTIFACTS_PATH) $(GIT_TAG) $(IMAGE_REPO) $(IMAGE_TAG) $(GOLANG_VERSION)

$(FIX_LICENSES_GO_JSON_TARGET): | $(GO_MOD_DOWNLOAD_TARGETS)
# The ajeddeloh/go-json dependency github repo does not have a license, however it redirects to coreos/go-json repo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ ARTIFACTS_PATH="$3"
TAG="$4"
IMAGE_REPO="$5"
IMAGE_TAG="$6"
GOLANG_VERSION="$6"

MAKE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
source "${MAKE_ROOT}/../../../build/lib/common.sh"

build::common::use_go_version ${GOLANG_VERSION}

cd $REPO

CAPI_REGISTRY_PREFIX="${IMAGE_REPO}/kubernetes-sigs/cluster-api"
Expand Down

0 comments on commit a69b464

Please sign in to comment.