Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Dec 14, 2024
1 parent 957538c commit 139b096
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

docker login --username "$DOCKER_USERNAME" --password "$DOCKER_PASSWORD"

has_arm=0
for f in 192.168.1.2 192.168.69.4; do
if ping -c 1 $f; then
docker buildx create --use --name wp --driver remote tcp://$f:1234
has_arm=1
break
fi
done

has_riscv=0
if ping -c 1 192.168.69.206; then
docker buildx create --append --name wp --driver remote tcp://192.168.69.206:1234
Expand All @@ -17,15 +26,6 @@ for f in 192.168.1.10 192.168.69.236 192.168.69.233 192.168.69.207 192.168.69.13
fi
done

has_arm=0
for f in 192.168.1.2 192.168.69.4; do
if ping -c 1 $f; then
docker buildx create --append --name wp --driver remote tcp://$f:1234
has_arm=1
break
fi
done

arches=""
if [ $has_x86 -eq 1 ]; then
arches="$arches amd64"
Expand Down

0 comments on commit 139b096

Please sign in to comment.