This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 1aadebe  CouchDB 2.3.0 + admin README notes (#120)
1aadebe is described below

commit 1aadebed0286806108959c956f46de2f2f191ff0
Author: Joan Touzet <[email protected]>
AuthorDate: Thu Dec 6 03:25:23 2018 -0500

    CouchDB 2.3.0 + admin README notes (#120)
---
 .travis.yml                            |  2 +-
 {2.2.0 => 2.3.0}/10-docker-default.ini |  0
 {2.2.0 => 2.3.0}/Dockerfile            |  2 +-
 {2.2.0 => 2.3.0}/docker-entrypoint.sh  |  0
 {2.2.0 => 2.3.0}/vm.args               |  0
 README.md                              | 18 ++++++++++++++++++
 6 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8b88a67..790f6e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,7 @@ services:
 
 env:
   - RELEASES="1.7.2 1.7.2-couchperuser"
-  - RELEASES=2.2.0
+  - RELEASES=2.3.0
   - RELEASES=dev
   - RELEASES=dev-cluster
 
diff --git a/2.2.0/10-docker-default.ini b/2.3.0/10-docker-default.ini
similarity index 100%
rename from 2.2.0/10-docker-default.ini
rename to 2.3.0/10-docker-default.ini
diff --git a/2.2.0/Dockerfile b/2.3.0/Dockerfile
similarity index 99%
rename from 2.2.0/Dockerfile
rename to 2.3.0/Dockerfile
index 5fa2bce..cde875e 100644
--- a/2.2.0/Dockerfile
+++ b/2.3.0/Dockerfile
@@ -81,7 +81,7 @@ RUN set -xe; \
         wget -O - https://couchdb.apache.org/repo/bintray-pubkey.asc | apt-key 
add -; \
         apt-get purge -y --auto-remove wget
 
-ENV COUCHDB_VERSION 2.2.0
+ENV COUCHDB_VERSION 2.3.0
 
 RUN echo "deb https://apache.bintray.com/couchdb-deb stretch main" > 
/etc/apt/sources.list.d/couchdb.list
 
diff --git a/2.2.0/docker-entrypoint.sh b/2.3.0/docker-entrypoint.sh
similarity index 100%
rename from 2.2.0/docker-entrypoint.sh
rename to 2.3.0/docker-entrypoint.sh
diff --git a/2.2.0/vm.args b/2.3.0/vm.args
similarity index 100%
rename from 2.2.0/vm.args
rename to 2.3.0/vm.args
diff --git a/README.md b/README.md
index 05a7721..74c2444 100644
--- a/README.md
+++ b/README.md
@@ -153,6 +153,24 @@ and then build and run
 [sudo] docker run -d -p 5984:5984 -v ~/couchdb:/usr/local/var/lib/couchdb 
you/awesome-couchdb
 ```
 
+## Admin uploading for CouchDB release managers
+
+Taking a hypothetical example of CouchDB 2.9.7, here's all of the tags you'd 
want:
+
+```bash
+docker build -t apache/couchdb:2.9.7 2.9.7
+docker tag apache/couchdb:2.9.7 apache/couchdb:latest
+docker tag apache/couchdb:2.9.7 apache/couchdb:2.9
+docker tag apache/couchdb:2.9.7 apache/couchdb:2
+docker login
+docker push apache/couchdb:2.9.7
+docker push apache/couchdb:2.9
+docker push apache/couchdb:2
+docker push apache/couchdb:latest
+```
+
+Obviously don't create/push the `latest` or `2` tags if this is a maintenance 
branch superceded by a newer one.
+
 ## Feedback, Issues, Contributing
 
 General feedback is welcome at our [user][1] or [developer][2] mailing lists.

Reply via email to