From 3d622ef6c8d42894ec0bbea7462401bf107169d8 Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Tue, 12 Nov 2013 13:06:05 +0100 Subject: [PATCH] Add a release command --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6be8a72..d7891bf 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME = phusion/baseimage VERSION = 0.9.0 -.PHONY: all build tag_latest +.PHONY: all build tag_latest release all: build @@ -10,3 +10,6 @@ build: tag_latest: docker tag $(NAME):$(VERSION) $(NAME):latest + +release: tag_latest + docker push $(NAME)