diff options
author | himaaaatti <sux2mfgj@gmail.com> | 2017-05-31 10:16:51 +0900 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-05-31 09:16:51 +0800 |
commit | 0f5b399e351786254f48dc1e5ed3419c3153703f (patch) | |
tree | ca75de803a6a2f46abeb765423202bdc1c71a22f /Makefile | |
parent | 24859fe5b64925f93f5b2decee28d3bba23a5b44 (diff) | |
download | gitea-0f5b399e351786254f48dc1e5ed3419c3153703f.tar.gz gitea-0f5b399e351786254f48dc1e5ed3419c3153703f.zip |
Add variable for docker tag (#1825)
Signed-off-by: Shunsuke Mie <sux2mfgj@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ endif BINDATA := modules/{options,public,templates}/bindata.go STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) JAVASCRIPTS := +DOCKER_TAG := gitea/gitea:latest GOFLAGS := -i -v EXTRA_GOFLAGS ?= @@ -126,7 +127,7 @@ $(EXECUTABLE): $(SOURCES) .PHONY: docker docker: docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="bindata $(TAGS)" webhippie/golang:edge make clean generate build - docker build -t gitea/gitea:latest . + docker build -t $(DOCKER_TAG) . .PHONY: release release: release-dirs release-windows release-linux release-darwin release-copy release-check |