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