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