Skip to content

Commit 8dad544

Browse files
BOT-4162 build
1 parent 5eaf790 commit 8dad544

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

Makefile

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1-
TAG_COMMIT := $(shell git rev-list --abbrev-commit --tags --max-count=1)
2-
VERSION := $(shell git describe --abbrev=0 --tags ${TAG_COMMIT} 2>/dev/null || true)
3-
4-
docker_build_dev:
5-
docker build -t botium.speech:develop frontend
6-
7-
docker_publish_dev:
8-
docker tag botium.speech:develop ${AWS_REGISTRY_HOSTNAME}/botium.speech:develop
9-
docker push ${AWS_REGISTRY_HOSTNAME}/botium.speech:develop
10-
111
docker_build:
12-
docker build -t botium.speech:$(VERSION) frontend
2+
docker build -t botium.speech:${SPEECH_VERSION} frontend
133

144
docker_publish:
15-
docker tag botium.speech:$(VERSION) ${AWS_REGISTRY_HOSTNAME}/botium.speech:$(VERSION)
16-
docker push ${AWS_REGISTRY_HOSTNAME}/botium.speech:$(VERSION)
5+
docker tag botium.speech:${SPEECH_VERSION} ${AWS_REGISTRY_HOSTNAME}/botium.speech:${SPEECH_VERSION}
6+
docker push ${AWS_REGISTRY_HOSTNAME}/botium.speech:${SPEECH_VERSION}
177

18-
develop: docker_build_dev docker_publish_dev
8+
develop: docker_build docker_publish
199

2010
release: docker_build docker_publish

0 commit comments

Comments
 (0)