mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
2655a64da0
* make cached docker containers for ci * remove old docker files from root of repo * use cached docker containers for ci
14 lines
313 B
Bash
Executable File
14 lines
313 B
Bash
Executable File
#!/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
|