Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
b4b69eb9
Commit
b4b69eb9
authored
Jul 15, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix duplicate docker builds
parent
536fd62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
docker/build_docker.sh
docker/build_docker.sh
+7
-11
No files found.
docker/build_docker.sh
View file @
b4b69eb9
...
...
@@ -5,18 +5,14 @@ set -u
BUILD_NAME
=
0.5.1
for
type
in
pyston pyston-numpy
;
do
for
tag
in
latest
${
BUILD_NAME
}
;
do
cd
~/pyston/docker/
${
type
}
# "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
}
:
${
BUILD_NAME
}
~/pyston/docker/
${
type
}
done
cd
~/pyston/docker/
${
type
}
# "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
}
:
${
BUILD_NAME
}
~/pyston/docker/
${
type
}
done
for
type
in
pyston pyston-numpy
;
do
for
tag
in
latest
${
BUILD_NAME
}
;
do
cd
~/pyston/docker/
${
type
}
docker push pyston/
${
type
}
:latest
docker push pyston/
${
type
}
:
${
BUILD_NAME
}
done
cd
~/pyston/docker/
${
type
}
docker push pyston/
${
type
}
:latest
docker push pyston/
${
type
}
:
${
BUILD_NAME
}
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment