Updated the docker hub repo name (seafileorg -> seafileltd).

This commit is contained in:
Shuai Lin 2017-01-03 10:34:32 +08:00
parent e0d4231838
commit 73792319d1
10 changed files with 14 additions and 14 deletions

View file

@ -11,12 +11,12 @@ git checkout unstable
```sh ```sh
git push origin unstable:unstable git push origin unstable:unstable
``` ```
* Create a tag "v6.0.7" and push it to github. Wait for travis ci to finish: this time it would push the image seafileorg/server:6.0.7 to docker hub since it's triggered by a tag. * Create a tag "v6.0.7" and push it to github. Wait for travis ci to finish: this time it would push the image seafileltd/seafile:6.0.7 to docker hub since it's triggered by a tag.
```sh ```sh
git tag v6.0.7 git tag v6.0.7
git push origin v6.0.7 git push origin v6.0.7
``` ```
* Ensure the new image is available in https://hub.docker.com/r/seafileorg/server/tags/ * Ensure the new image is available in https://hub.docker.com/r/seafileltd/seafile/tags/
* Now update the master branch. * Now update the master branch.
``` ```
git push origin unstable:master git push origin unstable:master

View file

@ -75,7 +75,7 @@ Various jinja2 templates used for seafile server configuration.
Dockerfiles for Seafile. Dockerfiles for Seafile.
The Docker repository will always contain the latest built version at: https://hub.docker.com/r/seafileorg/server/, you should not need to build the base image. The Docker repository will always contain the latest built version at: https://hub.docker.com/r/seafileltd/seafile/, you should not need to build the base image.
### Launcher ### Launcher

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
###################################### ######################################
# Publish the seafile server image (e.g. seafileorg/server:6.0.7) to docker # Publish the seafile server image (e.g. seafileltd/seafile:6.0.7) to docker
# registry. This script should only be called during a travis build trigger by a tag. # registry. This script should only be called during a travis build trigger by a tag.
###################################### ######################################
@ -12,7 +12,7 @@ set -o pipefail
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" 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. ## Always use the base image we build manually to reduce the download size of the end user.
docker pull seafileorg/base:16.04 docker pull seafileltd/seafile:16.04
( (
cd image cd image

View file

@ -1,8 +1,8 @@
server_version=6.0.7 server_version=6.0.7
base_image=seafileorg/base:16.04 base_image=seafileltd/seafile:16.04
base_image_squashed=seafileorg/base:16.04-squashed base_image_squashed=seafileltd/seafile:16.04-squashed
server_image=seafileorg/server:$(server_version) server_image=seafileltd/seafile:$(server_version)
all: all:
@echo @echo

View file

@ -1,4 +1,4 @@
FROM seafileorg/base:16.04 FROM seafileltd/seafile:16.04
WORKDIR /opt/seafile WORKDIR /opt/seafile
ENV SEAFILE_VERSION=6.0.7 ENV SEAFILE_VERSION=6.0.7

View file

@ -22,7 +22,7 @@ set -e
set -o pipefail set -o pipefail
version=6.0.7 version=6.0.7
image=seafileorg/server:$version image=seafileltd/seafile:$version
local_image=local_seafile/server:latest local_image=local_seafile/server:latest
dockerdir=$(cd "$(dirname $0)"; pwd -P) dockerdir=$(cd "$(dirname $0)"; pwd -P)
sharedir=$dockerdir/shared sharedir=$dockerdir/shared

View file

@ -9,7 +9,7 @@ you should use it instead of the linux 'launcher' script.
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$version = "6.0.7" $version = "6.0.7"
$image = "seafileorg/server:$version" $image = "seafileltd/seafile:$version"
$local_image = "local_seafile/server:latest" $local_image = "local_seafile/server:latest"
$dockerdir = $PSScriptRoot.Replace("\", "/") $dockerdir = $PSScriptRoot.Replace("\", "/")

View file

@ -1,6 +1,6 @@
# -*- mode: dockerfile -*- # -*- mode: dockerfile -*-
# This is a jinja2 template to generate the real Dockerfile to build the local image # This is a jinja2 template to generate the real Dockerfile to build the local image
FROM seafileorg/server:{{ seafile_version }} FROM seafileltd/seafile:{{ seafile_version }}
CMD ["/sbin/my_init", "--", "/scripts/start.py"] CMD ["/sbin/my_init", "--", "/scripts/start.py"]

View file

@ -1,4 +1,4 @@
FROM seafileorg/server:6.0.7 FROM seafileltd/seafile:6.0.7
ENV SEAFILE_VERSION=6.1.0 ENV SEAFILE_VERSION=6.1.0

View file

@ -1,2 +1,2 @@
all: all:
docker build -t seafileorg/server:6.1.0 . docker build -t seafileltd/seafile:6.1.0 .