Add docker-release target to makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,3 +1,4 @@
|
|||||||
|
DOCKER_RELEASE_TAG = "sosedoff/pgweb:$(shell git describe --abbrev=0 --tags | sed 's/v//')"
|
||||||
BINDATA_IGNORE = $(shell git ls-files -io --exclude-standard $< | sed 's/^/-ignore=/;s/[.]/[.]/g')
|
BINDATA_IGNORE = $(shell git ls-files -io --exclude-standard $< | sed 's/^/-ignore=/;s/[.]/[.]/g')
|
||||||
|
|
||||||
usage:
|
usage:
|
||||||
@@ -54,3 +55,6 @@ clean:
|
|||||||
|
|
||||||
docker:
|
docker:
|
||||||
docker build -t pgweb .
|
docker build -t pgweb .
|
||||||
|
|
||||||
|
docker-release:
|
||||||
|
docker build -t $(DOCKER_RELEASE_TAG) .
|
||||||
Reference in New Issue
Block a user