Skip to content

Commit

Permalink
target for tagging & pushing all containers
Browse files Browse the repository at this point in the history
  • Loading branch information
xelalexv committed Feb 18, 2022
1 parent 19585b4 commit d2c3a27
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,22 @@ release: clean rmi dregsy imgdregsy imgtests tests registrydown
#


.PHONY: publish
publish:
# tag & push all container images belonging to a complete release
#
docker tag xelalex/$(REPO):latest-alpine xelalex/$(REPO):$(DREGSY_VERSION)
docker tag xelalex/$(REPO):latest-alpine xelalex/$(REPO):$(DREGSY_VERSION)-alpine
docker tag xelalex/$(REPO):latest-ubuntu xelalex/$(REPO):$(DREGSY_VERSION)-ubuntu

docker push xelalex/$(REPO):latest
docker push xelalex/$(REPO):latest-alpine
docker push xelalex/$(REPO):$(DREGSY_VERSION)
docker push xelalex/$(REPO):$(DREGSY_VERSION)-alpine
docker push xelalex/$(REPO):latest-ubuntu
docker push xelalex/$(REPO):$(DREGSY_VERSION)-ubuntu


.PHONY: dregsy
dregsy: prep
# build the ${ITL}dregsy${NRM} binary
Expand Down

0 comments on commit d2c3a27

Please sign in to comment.