mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
ci(package-pr): use absolute paths in docker
This commit is contained in:
parent
89d787cd63
commit
b410fa8525
1 changed files with 2 additions and 2 deletions
4
.github/workflows/package-pr.yaml
vendored
4
.github/workflows/package-pr.yaml
vendored
|
@ -45,11 +45,11 @@ jobs:
|
|||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
docker run -v './repo:/repo' -v './packages:/packages' piston_fs_repo ${{ steps.get-packages.outputs.packages }}
|
||||
docker run -v $(pwd)'/repo:/repo' -v $(pwd)'/packages:/packages' piston_fs_repo ${{ steps.get-packages.outputs.packages }}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker run -dp 6969:6969 -v './repo:/repo' --privileged --name api piston_api
|
||||
docker run -dp 6969:6969 -v $(pwd)'/repo:/repo' --privileged --name api piston_api
|
||||
echo Waiting for API to start..
|
||||
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:6969/runtimes)" != "200" ]]; do sleep 5; done'
|
||||
echo Adding local repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue