From 6b08a899de06012ba75d6583df66359e0f0b08f1 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Fri, 15 Mar 2019 12:23:32 +0100 Subject: [PATCH 1/5] Switch to the Docker Hub image --- README.md | 4 ++-- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 19f0bbf..7bab812 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ docker run \ -e SEAF_PASSWORD \ -e SEAF_LIBRARY_UUID \ -v your/shared/volume:/volume \ - registry.gitlab.com/flwgns-docker/seafile-client:latest + flowgunso/seafile-client:latest ``` ### docker-compose ```yaml @@ -40,7 +40,7 @@ version: "3.4" services: seafile-sync: - image: registry.gitlab.com/flwgns-docker/seafile-client:latest + image: flowgunso/seafile-client:latest volumes: - your_shared_volume:/volume environment: diff --git a/docker-compose.yml b/docker-compose.yml index 96654b2..7781ab9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.4" services: seafile-sync: - image: registry.gitlab.com/flwgns-docker/seafile-client:latest + image: flowgunso/seafile-client:latest volumes: your_shared_volume:/volume environment: From dd707a3f29964e039efd51b83bdd2739534b4d48 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Fri, 15 Mar 2019 12:24:09 +0100 Subject: [PATCH 2/5] Switch to Docker Hub registry, fix staging shell script call --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7da453..8efc417 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,9 @@ staging: stage: build_publish before_script: - apk add bash - - echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin + - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin script: - - /bin/bash utils/publish/staging + - /bin/bash utils/publish/staging.sh only: - staging @@ -20,7 +20,7 @@ production: stage: build_publish before_script: - apk add bash - - echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin + - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin script: - /bin/bash utils/publish/production.sh only: From ee3e3ddc246a37decc25cc1eb841e2687bfe5eac Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Fri, 15 Mar 2019 12:24:22 +0100 Subject: [PATCH 3/5] Push to v1.0.0 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50266d6..e8a0627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,5 @@ +# [1.0.0] - 2019/03/15 +- Release to Docker Hub + # [0.9.2] - 2019/03/15 - Test release on GitLab, before Docker Hub From 1680ea355bd59e75025afb8af8bc2c80a90fffb7 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Fri, 15 Mar 2019 12:24:54 +0100 Subject: [PATCH 4/5] Prepare Docker badges, push to v1.0.0, add the staging branch/tag --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7bab812..57312fb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,19 @@ -[![0.9.2 status](https://gitlab.com/flwgns-docker/seafile-client/badges/0.9.2/pipeline.svg)](https://gitlab.com/flwgns-docker/seafile-client/commits/0.9.2) +[![1.0.0 status](https://gitlab.com/flwgns-docker/seafile-client/badges/1.0.0/pipeline.svg)](https://gitlab.com/flwgns-docker/seafile-client/commits/1.0.0) +[![]()]() +[![]()]() -# Available tags. +# Available tags -[`0`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2), -[`0.9`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2), -[`0.9.2`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2), -[`latest`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2) (see tag/release [0.9.2](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2)) +## Production stable release +[`1`](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0), +[`1.0`](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0), +[`1.0.0`](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0), +[`latest`](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0) +(see tag/release [1.0.0](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0)) + +## Developmental releases +[`staging`](https://gitlab.com/flwgns-docker/seafile-client/tree/staging) +(see branch [staging](https://gitlab.com/flwgns-docker/seafile-client/tree/staging)) # Purpose From 62e661384a8ddfc6cc18fe0fd3d23b082fd69ebd Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Fri, 15 Mar 2019 12:53:33 +0100 Subject: [PATCH 5/5] Add a badge for Docker pulls --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 57312fb..015403c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ [![1.0.0 status](https://gitlab.com/flwgns-docker/seafile-client/badges/1.0.0/pipeline.svg)](https://gitlab.com/flwgns-docker/seafile-client/commits/1.0.0) -[![]()]() -[![]()]() +[![docker pulls](https://img.shields.io/docker/pulls/flowgunso/seafile-client.svg)](https://hub.docker.com/r/flowgunso/seafile-client) # Available tags