mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
313 B
Bash
14 lines
313 B
Bash
#!/bin/bash
|
|
|
|
# the registry server to use
|
|
registry=$1
|
|
|
|
test "x$registry" != "x" || exit 1
|
|
|
|
for file in ${@:2} ; do
|
|
name="$(echo $file | cut -d'.' -f1)"
|
|
echo "rebuild $name"
|
|
docker build -f $file -t $registry/lokinet-ci-$name --pull --no-cache --quiet .
|
|
docker push $registry/lokinet-ci-$name
|
|
done
|