Merge pull request #130 from haiwen/publish_image

publish images from 16.04 to 18.04
This commit is contained in:
Hulk 2018-12-19 17:30:10 +08:00 committed by GitHub
commit 0157060518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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