Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Commit

Permalink
Use $image instead of $IMAGE_NAME. (#107)
Browse files Browse the repository at this point in the history
IMAGE_NAME is undefined.

Signed-off-by: Masaki Muranaka <[email protected]>
  • Loading branch information
monaka authored and Eugene Ivantsov committed Jul 16, 2017
1 parent 9d8a1ac commit 355abc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ for image in $eclipse_images; do
b=${a#eclipse/}
d=recipes/${b/:/\/}
echo $b $d
docker build -t $image $d || error "Unable to build image: $IMAGE_NAME"
docker build -t $image $d || error "Unable to build image: $image"
if [ "x$PRIVATE_REPO" != "x" ]; then
docker tag $image $PRIVATE_REPO/$image
docker push $PRIVATE_REPO/$image || error "Unable to push image: $IMAGE_NAME"
docker push $PRIVATE_REPO/$image || error "Unable to push image: $image"
else
docker push $image
fi
Expand Down

0 comments on commit 355abc5

Please sign in to comment.