aboutsummaryrefslogtreecommitdiffstats
path: root/docker/restapi
diff options
context:
space:
mode:
Diffstat (limited to 'docker/restapi')
-rw-r--r--docker/restapi/hooks/post_push8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/restapi/hooks/post_push b/docker/restapi/hooks/post_push
new file mode 100644
index 000000000..26a27dd6c
--- /dev/null
+++ b/docker/restapi/hooks/post_push
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+docker tag "${IMAGE_NAME}" "${DOCKER_REPO}:stable"
+docker push "${DOCKER_REPO}:stable"
+
+exit $?