Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Commit ef313d6

Browse files
author
Evandro Myller
committed
Add a script to automate the build-push process
1 parent 0ba986c commit ef313d6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build-push.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
set -e
3+
4+
python_tags=(
5+
3.5
6+
3.6
7+
latest
8+
)
9+
10+
for tag in "${python_tags[@]}"; do
11+
echo -e "\033[1;33m>> Building for Python $tag...\n\033[0m"
12+
TAG=$tag docker-compose build
13+
TAG=$tag docker-compose push
14+
done

0 commit comments

Comments
 (0)