Merge remote-tracking branch 'origin/api-v1.8.2' into dev
This commit is contained in:
commit
d458f39fae
1 changed files with 4 additions and 0 deletions
|
|
@ -15,12 +15,16 @@ check_prereq() {
|
|||
}
|
||||
|
||||
function build_api(){
|
||||
cp -R ../peers ../_peers
|
||||
cd ../_peers
|
||||
cp -R ../utilities/utils .
|
||||
# Copy enterprise code
|
||||
[[ $1 == "ee" ]] && {
|
||||
cp -rf ../ee/peers/* ./
|
||||
}
|
||||
docker build -f ./Dockerfile -t ${DOCKER_REPO:-'local'}/peers:${git_sha1} .
|
||||
cd ../peers
|
||||
rm -rf ../_peers
|
||||
[[ $PUSH_IMAGE -eq 1 ]] && {
|
||||
docker push ${DOCKER_REPO:-'local'}/peers:${git_sha1}
|
||||
docker tag ${DOCKER_REPO:-'local'}/peers:${git_sha1} ${DOCKER_REPO:-'local'}/peers:latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue