push first, ask questions later
This commit is contained in:
parent
86ceb7a274
commit
71b8d72da3
7
push.sh
7
push.sh
@ -9,10 +9,15 @@ ARCHTAG="$TAG-$ARCH"
|
|||||||
|
|
||||||
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
|
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
|
||||||
docker push jketterl/$image:$ARCHTAG
|
docker push jketterl/$image:$ARCHTAG
|
||||||
|
done
|
||||||
|
|
||||||
|
for image in openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-full openwebrx; do
|
||||||
|
# there's no docker manifest rm command, and the create --amend does not work, so we have to clean up manually
|
||||||
|
rm -rf "${HOME}/.docker/manifests/docker.io_jketterl_${image}-${TAG}"
|
||||||
IMAGE_LIST=""
|
IMAGE_LIST=""
|
||||||
for a in $ALL_ARCHS; do
|
for a in $ALL_ARCHS; do
|
||||||
IMAGE_LIST="$IMAGE_LIST jketterl/$image:$TAG-$a"
|
IMAGE_LIST="$IMAGE_LIST jketterl/$image:$TAG-$a"
|
||||||
done
|
done
|
||||||
docker manifest create --amend jketterl/$image:latest $IMAGE_LIST
|
docker manifest create jketterl/$image:$TAG $IMAGE_LIST
|
||||||
docker manifest push --purge jketterl/$image:latest
|
docker manifest push --purge jketterl/$image:latest
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user