Skip to content

Commit

Permalink
Remove post push label latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mrauhala committed Feb 10, 2021
1 parent d66c56a commit c99edd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}

# Tag and push image for each additional tag
for tag in {latest,stable,2.18.2,2.18}; do
for tag in {stable,2.18.2,2.18}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done

0 comments on commit c99edd2

Please sign in to comment.