diff --git a/ci/publish-image.sh b/ci/publish-image.sh index b3e6d1bf..4708bb6a 100755 --- a/ci/publish-image.sh +++ b/ci/publish-image.sh @@ -14,7 +14,7 @@ docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" ## Always use the base image we build manually to reduce the download size of the end user. docker rm -f $(docker ps -a -q) docker rmi -f $(docker images -a -q) -docker pull seafileltd/base:16.04 +docker pull seafileltd/base:18.04 ( cd image diff --git a/ci/publish-pro-image.sh b/ci/publish-pro-image.sh index 5721a9ce..37f9c993 100755 --- a/ci/publish-pro-image.sh +++ b/ci/publish-pro-image.sh @@ -14,8 +14,8 @@ docker login -u="$DOCKER_PRO_REGISTRY_USER" -p="$DOCKER_PRO_REGISTRY_PASSWORD" d ## Always use the base image we build manually to reduce the download size of the end user. docker rm -f $(docker ps -a -q) docker rmi -f $(docker images -a -q) -docker pull docker.seadrive.org/seafileltd/pro-base:16.04 -docker tag docker.seadrive.org/seafileltd/pro-base:16.04 seafileltd/pro-base:16.04 +docker pull docker.seadrive.org/seafileltd/pro-base:18.04 +docker tag docker.seadrive.org/seafileltd/pro-base:18.04 seafileltd/pro-base:18.04 ( cd image @@ -27,8 +27,8 @@ docker tag docker.seadrive.org/seafileltd/pro-base:16.04 seafileltd/pro-base:16. docker login -u="$LOCAL_DOCKER_PRO_REGISTRY_USER" -p="$LOCAL_DOCKER_PRO_REGISTRY_PASSWORD" docker.seafile.top docker rmi -f $(docker images | awk {'print $3'}) -docker pull docker.seafile.top/seafileltd/pro-base:16.04 -docker tag docker.seafile.top/seafileltd/pro-base:16.04 seafileltd/pro-base:16.04 +docker pull docker.seafile.top/seafileltd/pro-base:18.04 +docker tag docker.seafile.top/seafileltd/pro-base:18.04 seafileltd/pro-base:18.04 ( cd image make host=docker.seafile.top pro-server push-pro-server