Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote committed Aug 29, 2024
1 parent 29ba77e commit 4080929
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions cluster-autoscaler/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALL_ARCH = amd64 arm64 s390x
ALL_ARCH = amd64 arm64
all: $(addprefix build-arch-,$(ALL_ARCH))

TAG?=dev
Expand Down Expand Up @@ -54,23 +54,23 @@ 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"

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
Expand Down
2 changes: 1 addition & 1 deletion cluster-autoscaler/push_image.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright 2017 The Kubernetes Authors.
#
Expand Down
2 changes: 1 addition & 1 deletion cluster-autoscaler/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4080929

Please sign in to comment.