mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-24 08:31:45 +08:00
https://github.com/chatopera/cskefu/issues/485 fix typo for APPLICATION_CUSTOMER_ENTITY
This commit is contained in:
parent
e4003e3d30
commit
cad857da3b
@ -8,7 +8,6 @@ baseDir=$(cd `dirname "$0"`;pwd)
|
|||||||
appHome=$baseDir/..
|
appHome=$baseDir/..
|
||||||
registryPrefix=
|
registryPrefix=
|
||||||
imagename=chatopera/contact-center
|
imagename=chatopera/contact-center
|
||||||
TIMESTAMP=`date "+%Y%m%d.%H%M%S"`
|
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
|
|
||||||
@ -20,18 +19,20 @@ if [ -d ../private ]; then
|
|||||||
registryPrefix=dockerhub.qingcloud.com/
|
registryPrefix=dockerhub.qingcloud.com/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
TIMESTAMP=`date "+%Y%m%d.%H%M%S"`
|
||||||
PACKAGE_VERSION=`git rev-parse --short HEAD`
|
PACKAGE_VERSION=`git rev-parse --short HEAD`
|
||||||
|
APPLICATION_CUSTOMER_ENTITY=${APPLICATION_CUSTOMER_ENTITY:-"OpenSource Community"}
|
||||||
|
|
||||||
set -x
|
|
||||||
$baseDir/package.sh
|
$baseDir/package.sh
|
||||||
|
|
||||||
if [ ! $? -eq 0 ]; then
|
if [ ! $? -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
docker build --build-arg VCS_REF=$PACKAGE_VERSION \
|
docker build --build-arg VCS_REF=$PACKAGE_VERSION \
|
||||||
--build-arg APPLICATION_BUILD_DATESTR=$TIMESTAMP \
|
--build-arg APPLICATION_BUILD_DATESTR=$TIMESTAMP \
|
||||||
--build-arg APPLICATION_CUSTOMER_ENTITY=$APPLICATION_CUSTOMER_ENTITY \
|
--build-arg APPLICATION_CUSTOMER_ENTITY="$APPLICATION_CUSTOMER_ENTITY" \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
--force-rm=true --tag $registryPrefix$imagename:$PACKAGE_VERSION .
|
--force-rm=true --tag $registryPrefix$imagename:$PACKAGE_VERSION .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user