浏览代码

Fix docker tag

Alex Myasoedov 6 年之前
父节点
当前提交
52d942ac01
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -9,6 +9,7 @@ repo:
 build:
 build:
 	@GOOS=linux CGO_ENABLE=0 go build main.go
 	@GOOS=linux CGO_ENABLE=0 go build main.go
 	@docker build -t $(REPO):$(GIT_SUMMARY) .
 	@docker build -t $(REPO):$(GIT_SUMMARY) .
+	@docker tag $(REPO):$(GIT_SUMMARY) $(REPO)
 
 
 push:
 push:
 	@docker push $(REPO):$(GIT_SUMMARY)
 	@docker push $(REPO):$(GIT_SUMMARY)