Skip to content

Commit

Permalink
Fix image tagging (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-dudik authored Jul 22, 2022
1 parent 296ad26 commit d7083ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand Down

0 comments on commit d7083ff

Please sign in to comment.