You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by dm...@apache.org on 2020/02/06 04:39:49 UTC

[tika-docker] branch master updated: Added latest command for tagging version as latest in DockerHub

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 973704d  Added latest command for tagging version as latest in DockerHub
973704d is described below

commit 973704db717ed3f09ea05d75f1b7fe1df8e46be7
Author: David Meikle <dm...@apache.org>
AuthorDate: Thu Feb 6 04:39:33 2020 +0000

    Added latest command for tagging version as latest in DockerHub
---
 docker-tool.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docker-tool.sh b/docker-tool.sh
index c414d25..e60569d 100755
--- a/docker-tool.sh
+++ b/docker-tool.sh
@@ -78,4 +78,12 @@ case "$subcommand" in
     docker push apache/tika:${version}-full
     ;;
 
+  latest)
+    # Update the latest tags to point to supplied version
+    docker tag apache/tika:${version} apache/tika:latest
+    docker push apache/tika:latest
+    docker tag apache/tika:${version}-full apache/tika:latest-full
+    docker push apache/tika:latest-full
+    ;;
+
 esac