Skip to content

Commit

Permalink
Fix tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
kudato committed Jan 17, 2020
1 parent 37e2173 commit a7a4028
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ set_tags() {
}

push_image() {
for i in $(set_tags "${name}")
for i in $(set_tags "${FROM//":"/"-"}")
do
docker push "${DOCKER_HUB_IMAGE}:${tag}-${TRAVIS_COMMIT:0:7}"
docker push "${DOCKER_HUB_IMAGE}:${i}"
echo "Push ${DOCKER_HUB_IMAGE}:${i} complete"
done
}

Expand Down

0 comments on commit a7a4028

Please sign in to comment.