Skip to content

Commit

Permalink
chore(release): Fix docker build args in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
christophd committed Apr 5, 2024
1 parent e576616 commit 509cf9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 509cf9f

Please sign in to comment.