We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fae6a2 commit bfb0e0aCopy full SHA for bfb0e0a
hooks/post_push
@@ -5,12 +5,6 @@ set -e
5
# Parse image name for repo name and major tag version
6
tagStart=$(expr index "$IMAGE_NAME" :)
7
repoName=${IMAGE_NAME:0:tagStart-1}
8
-majorVer=${IMAGE_NAME:tagStart:1}
9
-
10
-# Tag and push image with <major>
11
-echo "Tagging and pushing" ${repoName}:${majorVer}
12
-docker tag $IMAGE_NAME ${repoName}:${majorVer}
13
-docker push ${repoName}:${majorVer}
14
15
# Tag and push image with latest
16
echo "Tagging and pushing" ${repoName}:latest
0 commit comments