Remove post_push hooks tagging in favor of docker cloud

This commit is contained in:
selim13
2018-08-23 10:55:20 +03:00
parent 627df82bba
commit 079ad95b20
2 changed files with 0 additions and 26 deletions

View File

@@ -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

View File

@@ -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