mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
publish images from 16.04 to 18.04
This commit is contained in:
parent
9d5bc91e62
commit
c010853a52
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue