Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(setup): fix encoding problem in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Aug 16, 2019
1 parent 977822d commit 42da24d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,17 @@ done
# make alpine as default
ALPINE_TAG="${PROJ_NAME}:${VER_TAG}-alpine"
DEFAULT_TAG="${PROJ_NAME}:${VER_TAG}"
docker tag ${ALPINE_TAG} ${DEFAULT_TAG}

if [[ -z "${HUB_USER}" ]]; then
printf "\$HUB_USER not set, pass\n"
else
docker push gnes/${DEFAULT_TAG}
docker tag ${ALPINE_TAG} gnes/${DEFAULT_TAG} && docker push gnes/${DEFAULT_TAG}
fi

if [[ -z "${TCLOUD_USER}" ]]; then
printf "\$TCLOUD_USER not set, pass\n"
else
docker push ccr.ccs.tencentyun.com/gnes/${DEFAULT_TAG}
docker tag ${ALPINE_TAG} ccr.ccs.tencentyun.com/gnes/${DEFAULT_TAG} && docker push ccr.ccs.tencentyun.com/gnes/${DEFAULT_TAG}
fi

if [[ -z "${BADGE_WEBHOOK}" ]]; then
Expand Down

0 comments on commit 42da24d

Please sign in to comment.