Skip to content

Commit bc07753

Browse files
committed
test buildx
1 parent 02ebb0a commit bc07753

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/localnet-test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,20 @@ jobs:
6161
# no clue why this fails within the orchestrator, but I don't have enough sanity to debug it
6262
# so build nyxd image outside of it
6363
- name: build nyxd image
64-
run: sudo docker build --platform linux/amd64 -f ./Dockerfile.dev https://github.com/nymtech/nyxd.git#v0.60.1 -t localnet-nyxd:v0.60.1
64+
run: |
65+
# Detect the user Docker binary
66+
USER_DOCKER=$(which docker)
67+
DOCKER_DIR=$(dirname "$USER_DOCKER")
68+
echo "User Docker binary: $USER_DOCKER"
69+
70+
# Prepend it to root PATH so any subprocesses use it
71+
export PATH=$DOCKER_DIR:$PATH
72+
echo "PATH set to: $PATH"
73+
74+
# Verify that 'docker' resolves to the correct binary
75+
docker --version
76+
77+
sudo docker build --progress=plain --platform linux/amd64 -f Dockerfile.dev https://github.com/nymtech/nyxd.git#v0.60.1 -t localnet-nyxd:v0.60.1
6578

6679
# - name: save nyxd image
6780
# run: |

0 commit comments

Comments
 (0)