Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

TWEAK: Make Docker build version default to latest git tag. #726

Merged
merged 1 commit into from
Oct 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ protos:
## Docker
##
DOCKER_PROFILE ?= openbazaar
DOCKER_SERVER_IMAGE_NAME ?= $(DOCKER_PROFILE)/server
DOCKER_DUMMY_IMAGE_NAME ?= $(DOCKER_PROFILE)/server_dummy
DOCKER_SERVER_VERSION ?= $(shell git describe --tags --abbrev=0)
DOCKER_SERVER_IMAGE_NAME ?= $(DOCKER_PROFILE)/server:$(DOCKER_SERVER_VERSION)
DOCKER_DUMMY_IMAGE_NAME ?= $(DOCKER_PROFILE)/server_dummy:$(DOCKER_SERVER_VERSION)

docker:
docker build -t $(DOCKER_SERVER_IMAGE_NAME) .
Expand Down