Skip to content

Commit

Permalink
Fix image pushing to ghcr.io (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-dudik authored Jul 21, 2022
1 parent d14fbe2 commit 296ad26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,15 @@ ifneq ($(RELEASE_TAG_CHECKED),)
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}
ifneq ($(findstring -,$(RELEASE_TAG_CHECKED)),-)
docker push ${REPO}/${STONEWORK_PROD_IMAGE}:${RELEASE_VERSION_MAJOR_MINOR}
docker push ${REPO}/${STONEWORK_PROD_IMAGE}
endif
else
@echo "Release tag is empty or has incorrect format."
@echo "Supplied release tag: ${RELEASE_TAG}"
Expand Down

0 comments on commit 296ad26

Please sign in to comment.