From be6f5d1bf8620f536154b1ecad31e54e1949dc54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Woimb=C3=A9e?= <arthur.woimbee@gmail.com> Date: Thu, 16 Jan 2025 11:45:29 +0100 Subject: [PATCH] CI: use older ubuntu (lower glibc version) --- .github/workflows/pr-tests.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-tests.yaml b/.github/workflows/pr-tests.yaml index 4af315e2..7affc7f7 100644 --- a/.github/workflows/pr-tests.yaml +++ b/.github/workflows/pr-tests.yaml @@ -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" @@ -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