|
#!/bin/bash |
|
|
|
|
|
DATE=$(date +%Y%m%d) |
|
|
|
COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-7) |
|
|
|
|
|
docker build --build-arg IMAGE_TYPE=full -t breakstring/gpt-sovits:latest . |
|
|
|
docker tag breakstring/gpt-sovits:latest breakstring/gpt-sovits:dev-$DATE |
|
|
|
docker tag breakstring/gpt-sovits:latest breakstring/gpt-sovits:dev-$COMMIT_HASH |
|
|
|
|
|
|
|
docker build --build-arg IMAGE_TYPE=elite -t breakstring/gpt-sovits:latest-elite . |
|
|
|
docker tag breakstring/gpt-sovits:latest-elite breakstring/gpt-sovits:dev-$DATE-elite |
|
|
|
docker tag breakstring/gpt-sovits:latest-elite breakstring/gpt-sovits:dev-$COMMIT_HASH-elite |
|
|