From 509cf9ff63dfe683fa2ca5c7b77c0c372d6b00aa Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Fri, 5 Apr 2024 22:35:53 +0200 Subject: [PATCH] chore(release): Fix docker build args in release script --- Makefile | 2 +- script/release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e2e5731..520cc287 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ VERSION := 0.19.0-SNAPSHOT SNAPSHOT_VERSION := 0.19.0-SNAPSHOT OPERATOR_VERSION := $(subst -SNAPSHOT,,$(VERSION)) LAST_RELEASED_IMAGE_NAME := yaks-operator -LAST_RELEASED_VERSION := 0.17.1 +LAST_RELEASED_VERSION := 0.18.0 CONTROLLER_GEN_VERSION := v0.6.1 CODEGEN_VERSION := v0.25.6 diff --git a/script/release.sh b/script/release.sh index ecc03abb..794f18d4 100755 --- a/script/release.sh +++ b/script/release.sh @@ -110,7 +110,7 @@ release() { export GOARCH=amd64 export CGO_ENABLED=0 eval go build "$build_flags" -o ${working_dir}/build/_output/bin/yaks ${working_dir}/cmd/manager/*.go - docker build --platform=linux/amd64 -t ${image}:${release_version} -f ${working_dir}/build/Dockerfile ${working_dir} + docker build --load -t ${image}:${release_version} -f ${working_dir}/build/Dockerfile ${working_dir} if [ ! $(hasflag --snapshot-release) ] && [ ! $(hasflag --local-release) ]; then # Release staging repo