Add image target to Makefile
This commit is contained in:
parent
107110183a
commit
7c919b5f9b
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY: dev setup build install test release clean
|
||||
.PHONY: dev setup build install image test release clean
|
||||
|
||||
CGO_ENABLED=0
|
||||
VERSION=$(shell git describe --abbrev=0 --tags)
|
||||
|
@ -23,6 +23,9 @@ build: clean
|
|||
install: build
|
||||
@go install
|
||||
|
||||
image:
|
||||
@docker build -t prologic/tube .
|
||||
|
||||
test: install
|
||||
@go test
|
||||
|
||||
|
|
Loading…
Reference in a new issue