Commit b4b69eb9 authored by Kevin Modzelewski's avatar Kevin Modzelewski

fix duplicate docker builds

parent 536fd62c
...@@ -5,18 +5,14 @@ set -u ...@@ -5,18 +5,14 @@ set -u
BUILD_NAME=0.5.1 BUILD_NAME=0.5.1
for type in pyston pyston-numpy; do for type in pyston pyston-numpy; do
for tag in latest ${BUILD_NAME}; do cd ~/pyston/docker/${type}
cd ~/pyston/docker/${type} # "docker build" only recently gained the ability to take multiple -t flags
# "docker build" only recently gained the ability to take multiple -t flags docker build -t pyston/${type}:latest ~/pyston/docker/${type}
docker build -t pyston/${type}:latest ~/pyston/docker/${type} docker build -t pyston/${type}:${BUILD_NAME} ~/pyston/docker/${type}
docker build -t pyston/${type}:${BUILD_NAME} ~/pyston/docker/${type}
done
done done
for type in pyston pyston-numpy; do for type in pyston pyston-numpy; do
for tag in latest ${BUILD_NAME}; do cd ~/pyston/docker/${type}
cd ~/pyston/docker/${type} docker push pyston/${type}:latest
docker push pyston/${type}:latest docker push pyston/${type}:${BUILD_NAME}
docker push pyston/${type}:${BUILD_NAME}
done
done done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment