|
1 | 1 | TAG_COMMIT := $(shell git rev-list --abbrev-commit --tags --max-count=1) |
2 | 2 | VERSION := $(shell git describe --abbrev=0 --tags ${TAG_COMMIT} 2>/dev/null || true) |
3 | 3 |
|
4 | | -docker_build: |
| 4 | +docker_build_develop: |
| 5 | + docker build -t botium/botium-speech-frontend:develop frontend |
| 6 | + docker build -t botium/botium-speech-watcher:develop watcher |
| 7 | + docker build -f stt/Dockerfile.kaldi.en -t botium/botium-speech-kaldi-en:develop) stt |
| 8 | + docker build -f stt/Dockerfile.kaldi.de -t botium/botium-speech-kaldi-de:develop stt |
| 9 | + docker build -f tts/Dockerfile.marytts -t botium/botium-speech-marytts:develop tts |
| 10 | + docker build -t botium/botium-speech-dictate:develop dictate |
| 11 | + |
| 12 | +docker_publish_develop: |
| 13 | + docker push botium/botium-speech-frontend:develop |
| 14 | + docker push botium/botium-speech-watcher:develop |
| 15 | + docker push botium/botium-speech-kaldi-en:develop |
| 16 | + docker push botium/botium-speech-kaldi-de:develop |
| 17 | + docker push botium/botium-speech-marytts:develop |
| 18 | + docker push botium/botium-speech-dictate:develop |
| 19 | + |
| 20 | +docker_build_release: |
5 | 21 | docker build -t botium/botium-speech-frontend:$(VERSION) frontend |
6 | 22 | docker build -t botium/botium-speech-watcher:$(VERSION) watcher |
7 | 23 | docker build -f stt/Dockerfile.kaldi.en -t botium/botium-speech-kaldi-en:$(VERSION) stt |
8 | 24 | docker build -f stt/Dockerfile.kaldi.de -t botium/botium-speech-kaldi-de:$(VERSION) stt |
9 | 25 | docker build -f tts/Dockerfile.marytts -t botium/botium-speech-marytts:$(VERSION) tts |
10 | 26 | docker build -t botium/botium-speech-dictate:$(VERSION) dictate |
11 | 27 |
|
12 | | -docker_publish: |
| 28 | +docker_publish_release: |
13 | 29 | docker push botium/botium-speech-frontend:$(VERSION) |
14 | 30 | docker push botium/botium-speech-watcher:$(VERSION) |
15 | 31 | docker push botium/botium-speech-kaldi-en:$(VERSION) |
16 | 32 | docker push botium/botium-speech-kaldi-de:$(VERSION) |
17 | 33 | docker push botium/botium-speech-marytts:$(VERSION) |
18 | 34 | docker push botium/botium-speech-dictate:$(VERSION) |
19 | 35 |
|
20 | | -docker_latest: |
| 36 | +docker_latest_release: |
21 | 37 | docker tag botium/botium-speech-frontend:$(VERSION) botium/botium-speech-frontend:latest |
22 | 38 | docker push botium/botium-speech-frontend:latest |
23 | 39 |
|
|
0 commit comments