openwebrx-clone/push.sh

17 lines
448 B
Bash
Raw Permalink Normal View History

2019-01-21 16:40:36 +00:00
#!/bin/bash
2019-01-21 17:44:35 +00:00
set -euxo pipefail
2019-01-22 12:52:03 +01:00
ARCH=$(uname -m)
2019-11-18 14:42:05 +01:00
ALL_ARCHS="x86_64 armv7l"
2019-06-20 15:37:21 +02:00
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
2019-01-22 12:52:03 +01:00
docker push jketterl/$image:$ARCH
2019-11-18 14:42:05 +01:00
IMAGE_LIST=""
for a in $ALL_ARCHS; do
IMAGE_LIST="$IMAGE_LIST jketterl/$image:$a"
done
docker manifest create --amend jketterl/$image:latest $IMAGE_LIST
docker manifest push --purge jketterl/$image:latest
2019-01-22 12:52:03 +01:00
done