From d7083ffc544ca07a7b5651e467932213e3eda474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Dud=C3=ADk?= <100129729+samuel-dudik@users.noreply.github.com> Date: Fri, 22 Jul 2022 12:39:22 +0200 Subject: [PATCH] Fix image tagging (#48) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe2d31e7..aca64c72 100644 --- a/Makefile +++ b/Makefile @@ -125,6 +125,8 @@ proto-rootgen-image: ./scripts/build.sh proto-rootgen images: vpp-image dev-image prod-image tester-image mockcnf-image + docker tag ${STONEWORK_VPP_IMAGE}:${VPP_VERSION} ${REPO}/${STONEWORK_VPP_IMAGE}:${VPP_VERSION} + ifneq ($(RELEASE_TAG_CHECKED),) # tag release images docker tag ${STONEWORK_PROD_IMAGE}:${DEV_VERSION} ${REPO}/${STONEWORK_PROD_IMAGE}:${RELEASE_VERSION_FULL} @@ -134,7 +136,6 @@ endif push-images: docker push ${REPO}/${STONEWORK_VPP_IMAGE}:${VPP_VERSION} - docker push ${REPO}/${STONEWORK_VPP_IMAGE} ifneq ($(RELEASE_TAG_CHECKED),) docker push ${REPO}/${STONEWORK_PROD_IMAGE}:${RELEASE_VERSION_FULL}