openwebrx-clone/push.sh

17 lines
440 B
Bash
Raw 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 11:52:03 +00:00
ARCH=$(uname -m)
2019-11-18 13:42:05 +00:00
ALL_ARCHS="x86_64 armv7l"
2019-06-20 13:37:21 +00:00
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
2019-01-22 11:52:03 +00:00
docker push jketterl/$image:$ARCH
2019-11-18 13:42:05 +00: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 jketterl/$image:latest
2019-01-22 11:52:03 +00:00
done