aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/components/hooks/post_push8
-rw-r--r--docker/core/hooks/post_push8
-rw-r--r--docker/features/hooks/post_push8
-rw-r--r--docker/healthcheck/hooks/post_push8
-rw-r--r--docker/parser/hooks/post_push8
-rw-r--r--docker/restapi/hooks/post_push8
-rw-r--r--docker/smoke/hooks/post_push8
-rw-r--r--docker/vnf/hooks/post_push8
8 files changed, 64 insertions, 0 deletions
diff --git a/docker/components/hooks/post_push b/docker/components/hooks/post_push
new file mode 100644
index 000000000..26a27dd6c
--- /dev/null
+++ b/docker/components/hooks/post_push
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+docker tag "${IMAGE_NAME}" "${DOCKER_REPO}:stable"
+docker push "${DOCKER_REPO}:stable"
+
+exit $?
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 $?
diff --git a/docker/features/hooks/post_push b/docker/features/hooks/post_push
new file mode 100644
index 000000000..26a27dd6c
--- /dev/null
+++ b/docker/features/hooks/post_push
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+docker tag "${IMAGE_NAME}" "${DOCKER_REPO}:stable"
+docker push "${DOCKER_REPO}:stable"
+
+exit $?
diff --git a/docker/healthcheck/hooks/post_push b/docker/healthcheck/hooks/post_push
new file mode 100644
index 000000000..26a27dd6c
--- /dev/null
+++ b/docker/healthcheck/hooks/post_push
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+docker tag "${IMAGE_NAME}" "${DOCKER_REPO}:stable"
+docker push "${DOCKER_REPO}:stable"
+
+exit $?
diff --git a/docker/parser/hooks/post_push b/docker/parser/hooks/post_push
new file mode 100644
index 000000000..26a27dd6c
--- /dev/null
+++ b/docker/parser/hooks/post_push
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+docker tag "${IMAGE_NAME}" "${DOCKER_REPO}:stable"
+docker push "${DOCKER_REPO}:stable"
+
+exit $?
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 $?
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 $?
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 $?