feat(crons): changed build script
This commit is contained in:
parent
73ea3e6556
commit
460aa9dbb7
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ function build_api(){
|
|||
|
||||
docker build -f ./Dockerfile.crons --build-arg envarg=$envarg -t ${DOCKER_REPO:-'local'}/crons:${git_sha1} .
|
||||
cd ../api
|
||||
rm -rf ../crons
|
||||
rm -rf ../_crons
|
||||
[[ $PUSH_IMAGE -eq 1 ]] && {
|
||||
docker push ${DOCKER_REPO:-'local'}/crons:${git_sha1}
|
||||
docker tag ${DOCKER_REPO:-'local'}/crons:${git_sha1} ${DOCKER_REPO:-'local'}/crons:${tag}latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue