Skip to content

Commit

Permalink
fix: docker build failed in backend e2e test CI (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-chen authored Feb 5, 2021
1 parent bad159b commit 9824b5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/backend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
sed -i '/172.16.238.10:2379/a\ - 172.16.238.11:2379' ./api/conf/conf.yaml
sed -i '/172.16.238.10:2379/a\ - 172.16.238.12:2379' ./api/conf/conf.yaml
- name: download file Dockerfile-apisix
working-directory: ./api/test/docker
run: |
curl -o Dockerfile-apisix https://raw.githubusercontent.com/apache/apisix-docker/master/alpine/Dockerfile
- name: run docker compose
working-directory: ./api/test/docker
run: |
Expand Down
8 changes: 4 additions & 4 deletions api/test/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ services:
apisix:
hostname: apisix_server1
build:
context: https://github.com/apache/apisix-docker.git#master:alpine-dev/
dockerfile: Dockerfile
context: ../../
dockerfile: test/docker/Dockerfile-apisix
args:
- APISIX_VERSION=master
restart: always
Expand All @@ -153,8 +153,8 @@ services:
apisix2:
hostname: apisix_server2
build:
context: https://github.com/apache/apisix-docker.git#master:alpine-dev/
dockerfile: Dockerfile
context: ../../
dockerfile: test/docker/Dockerfile-apisix
args:
- APISIX_VERSION=master
restart: always
Expand Down

0 comments on commit 9824b5f

Please sign in to comment.