Compare commits

..

No commits in common. 'ab781811460ee70630fddf656ae4891adc56cedc' and '07829c817769c64f479b83cb92e8207c6978e7d5' have entirely different histories.

  1. 2
      README.md
  2. 42
      release

@ -48,5 +48,5 @@ of that.
[torrent]: http://wiki.theory.org/BitTorrentSpecification
[erdgeist]: https://erdgeist.org/about/
[opentracker]: https://erdgeist.org/arts/software/opentracker/
[config]: https://erdgeist.org/gitweb/opentracker/plain/opentracker.conf.sample
[config]: https://erdgeist.org/gitweb/opentracker/tree/opentracker.conf.sample
[repo]: https://git.mike-ochmann.de/miko/opentracker

@ -1,42 +0,0 @@
#!/usr/bin/env bash
build() {
sudo docker buildx build -t mikognn/opentracker:$1 --platform linux/amd64,linux/arm64,linux/arm64/v8,linux/arm/v7 .
echo "Do you want to push to docker.io? [Y/n] "
read answer
if [ "$answer" == "y" ] || [ "$answer" == "" ]; then
sudo docker push mikognn/opentracker:$1
else
echo "not pushing."
fi
}
help() {
cat << EOF
USAGE: release --version <version>
EOF
}
tag="latest"
while [ $# -gt 0 ]; do
case $1 in
--version|-v)
shift
if [ "$1" == "" ]; then
echo "ERROR: version missing"
help
exit 1
fi
tag=$1
shift
;;
*)
help
exit 1
;;
esac
shift
done
build $tag
Loading…
Cancel
Save