From 079ad95b2052f03ede6e2ed4f10f9fdf4dfe5f57 Mon Sep 17 00:00:00 2001 From: selim13 Date: Thu, 23 Aug 2018 10:55:20 +0300 Subject: [PATCH] Remove post_push hooks tagging in favor of docker cloud --- 3.1-apache/hooks/post_push | 13 ------------- 3.2-apache/hooks/post_push | 13 ------------- 2 files changed, 26 deletions(-) delete mode 100755 3.1-apache/hooks/post_push delete mode 100755 3.2-apache/hooks/post_push diff --git a/3.1-apache/hooks/post_push b/3.1-apache/hooks/post_push deleted file mode 100755 index f6871e3..0000000 --- a/3.1-apache/hooks/post_push +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e - -# Parse image name for repo name -tagStart=$(expr index "$IMAGE_NAME" :) -repoName=${IMAGE_NAME:0:tagStart-1} - -# Tag and push image for each additional tag -for tag in {3.1,3.1.11,3.1-apache,3.1.11-apache}; do - docker tag $IMAGE_NAME ${repoName}:${tag} - docker push ${repoName}:${tag} -done \ No newline at end of file diff --git a/3.2-apache/hooks/post_push b/3.2-apache/hooks/post_push deleted file mode 100755 index e16dfbe..0000000 --- a/3.2-apache/hooks/post_push +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e - -# Parse image name for repo name -tagStart=$(expr index "$IMAGE_NAME" :) -repoName=${IMAGE_NAME:0:tagStart-1} - -# Tag and push image for each additional tag -for tag in {3,3.2,3.2.2,3-apache,3.2-apache,3.2.2-apache,apache,latest}; do - docker tag $IMAGE_NAME ${repoName}:${tag} - docker push ${repoName}:${tag} -done \ No newline at end of file