From ad436132610f1e382f22e13bf58624892acba31d Mon Sep 17 00:00:00 2001 From: wangyizhi1 Date: Mon, 9 Oct 2023 16:19:30 +0800 Subject: [PATCH] feat: update image version Signed-off-by: wangyizhi1 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f89f58ed2a..643f40db089 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ MAKEPWD:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) CGO_ENABLED:=0 GOOS?=linux GOARCH?=amd64 -VERSION?=1.8.0 +VERSION?=v1.8.0 REGISTRY?="ghcr.io/kosmos-io" .PHONY: all @@ -22,7 +22,7 @@ coredns: $(CHECKS) .PHONY: images images: coredns set -e;\ - docker buildx build --output=type=docker --platform ${GOOS}/${GOARCH} --tag ${REGISTRY}/coredns:v${VERSION} . + docker buildx build --output=type=docker --platform ${GOOS}/${GOARCH} --tag ${REGISTRY}/coredns:${VERSION} . .PHONY: push-images upload-images: images