Skip to content

Commit

Permalink
CI: use older ubuntu (lower glibc version)
Browse files Browse the repository at this point in the history
  • Loading branch information
awoimbee committed Jan 16, 2025
1 parent 2439fc4 commit be6f5d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:


build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 # older ubuntu == older glibc
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
Expand Down Expand Up @@ -83,6 +83,8 @@ jobs:
ID=$(docker run -d -e RUST_LOG=debug --name trow -p 8000:8000 trow:onpr)
IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $ID)
echo "container-ip=$IP" >> $GITHUB_OUTPUT
echo "ID=$ID IP=$IP"
docker logs $ID
- name: Test connectivity
run: curl "http://${{ steps.start-container-image.outputs.container-ip }}:8000"
- name: Run OCI Distribution Spec conformance tests
Expand Down

0 comments on commit be6f5d1

Please sign in to comment.