Skip to content

Commit

Permalink
Makefile: Add shortcut for docker commands
Browse files Browse the repository at this point in the history
Signed-off-by: Jiang Xin <[email protected]>
  • Loading branch information
jiangxin committed Jan 17, 2016
1 parent 666e1dd commit ec8ac95
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
all:
@echo "build: build gotgit/gotgit"

build:
@docker build -t gotgit/gotgit .

push
@docker login
@docker push gotgit/gotgit

.PHONY: all build run

0 comments on commit ec8ac95

Please sign in to comment.