diff --git a/.github/workflows/package-pr.yaml b/.github/workflows/package-pr.yaml index 2326894..66f9814 100644 --- a/.github/workflows/package-pr.yaml +++ b/.github/workflows/package-pr.yaml @@ -71,7 +71,7 @@ jobs: output_max_size: 1024 max_process_count: 64 max_open_files: 2048 - repo_url: http://piston_fs_repo:8000/index + repo_url: http://localhost:8000/index write-mode: overwrite @@ -85,7 +85,7 @@ jobs: - name: Run tests run: | docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' -d --name piston_fs_repo docker.pkg.github.com/engineer-man/piston/repo-builder --no-build - docker run -v $(pwd)'/data:/piston' -d --name api docker.pkg.github.com/engineer-man/piston/api + docker run --network container:piston_fs_repo -v $(pwd)'/data:/piston' -d --name api docker.pkg.github.com/engineer-man/piston/api echo Waiting for API to start.. docker run --network container:api appropriate/curl --retry 10 --retry-connrefused http://localhost:6969/runtimes