Merge branch 'staging'

This commit is contained in:
flow.gunso
2019-03-15 12:54:05 +01:00
4 changed files with 22 additions and 12 deletions

View File

@@ -10,9 +10,9 @@ staging:
stage: build_publish stage: build_publish
before_script: before_script:
- apk add bash - 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: script:
- /bin/bash utils/publish/staging - /bin/bash utils/publish/staging.sh
only: only:
- staging - staging
@@ -20,7 +20,7 @@ production:
stage: build_publish stage: build_publish
before_script: before_script:
- apk add bash - 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: script:
- /bin/bash utils/publish/production.sh - /bin/bash utils/publish/production.sh
only: only:

View File

@@ -1,2 +1,5 @@
# [1.0.0] - 2019/03/15
- Release to Docker Hub
# [0.9.2] - 2019/03/15 # [0.9.2] - 2019/03/15
- Test release on GitLab, before Docker Hub - Test release on GitLab, before Docker Hub

View File

@@ -1,11 +1,18 @@
[![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)
[![docker pulls](https://img.shields.io/docker/pulls/flowgunso/seafile-client.svg)](https://hub.docker.com/r/flowgunso/seafile-client)
# Available tags. # Available tags
[`0`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2), ## Production stable release
[`0.9`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2), [`1`](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0),
[`0.9.2`](https://gitlab.com/flwgns-docker/seafile-client/tags/0.9.2), [`1.0`](https://gitlab.com/flwgns-docker/seafile-client/tags/1.0.0),
[`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)) [`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 # Purpose
@@ -32,7 +39,7 @@ docker run \
-e SEAF_PASSWORD \ -e SEAF_PASSWORD \
-e SEAF_LIBRARY_UUID \ -e SEAF_LIBRARY_UUID \
-v your/shared/volume:/volume \ -v your/shared/volume:/volume \
registry.gitlab.com/flwgns-docker/seafile-client:latest flowgunso/seafile-client:latest
``` ```
### docker-compose ### docker-compose
```yaml ```yaml
@@ -40,7 +47,7 @@ version: "3.4"
services: services:
seafile-sync: seafile-sync:
image: registry.gitlab.com/flwgns-docker/seafile-client:latest image: flowgunso/seafile-client:latest
volumes: volumes:
- your_shared_volume:/volume - your_shared_volume:/volume
environment: environment:

View File

@@ -2,7 +2,7 @@ version: "3.4"
services: services:
seafile-sync: seafile-sync:
image: registry.gitlab.com/flwgns-docker/seafile-client:latest image: flowgunso/seafile-client:latest
volumes: volumes:
your_shared_volume:/volume your_shared_volume:/volume
environment: environment: