diff --git a/cluster-autoscaler/Makefile b/cluster-autoscaler/Makefile index fb82bb2b5ee5..f80a8ca0bb1c 100644 --- a/cluster-autoscaler/Makefile +++ b/cluster-autoscaler/Makefile @@ -1,4 +1,4 @@ -ALL_ARCH = amd64 arm64 s390x +ALL_ARCH = amd64 arm64 all: $(addprefix build-arch-,$(ALL_ARCH)) TAG?=dev @@ -54,11 +54,11 @@ make-image: make-image-arch-$(GOARCH) make-image-arch-%: ifdef BASEIMAGE docker build --pull --build-arg BASEIMAGE=${BASEIMAGE} \ - -t ${IMAGE}-$*:${TAG} \ + -t ${IMAGE}:${TAG}-$* \ -f Dockerfile.$* . else docker build --pull \ - -t ${IMAGE}-$*:${TAG} \ + -t ${IMAGE}:${TAG}-$* \ -f Dockerfile.$* . endif @echo "Image ${TAG}${FOR_PROVIDER}-$* completed" @@ -66,11 +66,11 @@ endif push-image: push-image-arch-$(GOARCH) push-image-arch-%: - ./push_image.sh ${IMAGE}-$*:${TAG} + ./push_image.sh ${IMAGE}:${TAG}-$* push-manifest: docker manifest create ${IMAGE}:${TAG} \ - $(addprefix $(REGISTRY)/cluster-autoscaler$(PROVIDER)-, $(addsuffix :$(TAG), $(ALL_ARCH))) + $(addprefix $(REGISTRY)/cluster-autoscaler$(PROVIDER):$(TAG)-, $(ALL_ARCH)) docker manifest push --purge ${IMAGE}:${TAG} execute-release: $(addprefix make-image-arch-,$(ALL_ARCH)) $(addprefix push-image-arch-,$(ALL_ARCH)) push-manifest diff --git a/cluster-autoscaler/push_image.sh b/cluster-autoscaler/push_image.sh index 685a022ac46f..5b6acfa3afb0 100755 --- a/cluster-autoscaler/push_image.sh +++ b/cluster-autoscaler/push_image.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2017 The Kubernetes Authors. # diff --git a/cluster-autoscaler/version/version.go b/cluster-autoscaler/version/version.go index 3329ac75d566..80778e440c6b 100644 --- a/cluster-autoscaler/version/version.go +++ b/cluster-autoscaler/version/version.go @@ -17,4 +17,4 @@ limitations under the License. package version // ClusterAutoscalerVersion contains version of CA. -const ClusterAutoscalerVersion = "1.29.4" +const ClusterAutoscalerVersion = "1.29.4-hcloud1"