Skip to content

Commit

Permalink
Add variable for docker tag (#1825)
Browse files Browse the repository at this point in the history
Signed-off-by: Shunsuke Mie <[email protected]>
  • Loading branch information
sux2mfgj authored and lunny committed May 31, 2017
1 parent 24859fe commit 0f5b399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?=
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0f5b399

Please sign in to comment.