Skip to content

Commit 9d8bc37

Browse files
committed
fix: change image
1 parent 244fdb9 commit 9d8bc37

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.github/workflows/push-dev-image-on-commit.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,13 @@ jobs:
6262
6363
- name: Test APISIX
6464
run: |
65-
# Check if httpbin service is ready
66-
for i in {1..30}; do
67-
if curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8280/get | grep -q 200; then
68-
echo "httpbin service is ready"
69-
break
70-
fi
71-
echo "Waiting for httpbin service... ($i/30)"
72-
sleep 2
73-
done
74-
7565
curl http://127.0.0.1:9180/apisix/admin/routes/1 \
7666
-H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
7767
{
7868
"uri": "/get",
7969
"upstream": {
8070
"type": "roundrobin",
81-
"nodes": { "httpbin:80": 1 }
71+
"nodes": { "httpbin:8080": 1 }
8272
}
8373
}'
8474

docker/compose/docker-compose-master.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ services:
4848
- apisix
4949

5050
httpbin:
51-
image: kennethreitz/httpbin
51+
image: ghcr.io/mccutchen/go-httpbin
5252
restart: always
5353
ports:
54-
- "8280:80/tcp"
54+
- "8280:8080/tcp"
5555
networks:
5656
- apisix
5757

0 commit comments

Comments
 (0)