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