This commit is contained in:
deepzz0
2017-07-13 20:31:00 +08:00
parent e0a5f0ebca
commit d8f0e30285
3 changed files with 9 additions and 2 deletions

View File

@@ -15,10 +15,10 @@ test:
build:
@echo "go build..."
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build && \
docker build -t $(docker_registry)/deepzz/eiblog .
docker build -t $(docker_registry)/deepzz/eiblog:latest .
deploy:build
@docker push $(docker_registry)/deepzz/eiblog
@docker push $(docker_registry)/deepzz/eiblog:latest
dist:
@./dist.sh