File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : diag-pbs2
2+ on :
3+ push :
4+ branches : [diag/pbs-buildkit]
5+ permissions :
6+ contents : read
7+ jobs :
8+ probe :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : docker/setup-buildx-action@v3
12+ with :
13+ buildkitd-flags : --allow-insecure-entitlement network.host
14+ - name : Write test Dockerfile
15+ run : |
16+ mkdir -p t
17+ printf 'FROM ubuntu:noble\nRUN apt-get update >/dev/null && apt-get install -y curl >/dev/null\nRUN curl -fsSL -r 0-0 "https://github.com/astral-sh/python-build-standalone/releases/download/20260623/cpython-3.13.14+20260623-x86_64-unknown-linux-gnu-install_only.tar.gz" -o /tmp/x && echo PBS-DL-OK\n' > t/Dockerfile
18+ cat t/Dockerfile
19+ - name : BuildKit default network (expect 404)
20+ continue-on-error : true
21+ run : docker buildx build --no-cache -f t/Dockerfile t 2>&1 | tail -6
22+ - name : BuildKit host network (expect OK)
23+ run : docker buildx build --no-cache --network=host --allow network.host -f t/Dockerfile t 2>&1 | tail -6
You can’t perform that action at this time.
0 commit comments