Skip to content

Commit c461ac9

Browse files
add pushing command to script
Signed-off-by: Arnav Gupta <arnav@codingblocks.com>
1 parent ffe4968 commit c461ac9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build_workers.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@ do
99
docker build -t codingblocks/judge-worker-$i .
1010
cd $DIR
1111
done
12+
13+
read -p "Push the images? [Enter to Continue | Ctrl-C to exit]"
14+
15+
for i in $(ls "$DIR/containers")
16+
do
17+
cd $DIR/containers/$i
18+
docker push codingblocks/judge-worker-$i
19+
cd $DIR
20+
done

0 commit comments

Comments
 (0)