feat(api): changed build script

This commit is contained in:
Taha Yassine Kraiem 2021-12-22 20:35:20 +01:00
parent 7b79576796
commit 776d377ece

View file

@ -30,7 +30,7 @@ function build_api(){
[[ $PUSH_IMAGE -eq 1 ]] && {
docker push ${DOCKER_REPO:-'local'}/api:${git_sha1}
docker tag ${DOCKER_REPO:-'local'}/api:${git_sha1} ${DOCKER_REPO:-'local'}/api:${tag}latest
docker push ${DOCKER_REPO:-'local'}/api:${tag}api
docker push ${DOCKER_REPO:-'local'}/api:${tag}latest
}
}