Skip to content
Myr

[actions] allow DockerHub's CloudFront CDN so image pulls aren't blocked

Before adoption: this commit came in with the history the project adopted, so no landing records it.

harden-runner runs with `egress-policy: block`, and the allow-list only included `production.cloudflare.docker.com`. DockerHub serves image blobs from either its Cloudflare or its CloudFront CDN; when a pull was routed to CloudFront (`production.cloudfront.docker.com`) the connection was dropped, causing `error pulling image configuration: ... connect: connection refused` and exit 125 in the xenial, installation_node, and fast (httpbin) suites. Allow both CDNs.

authored by Jordan Harband · committed by Jordan Harband · parent dd13968 · Browse files · 3 files+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−0 removed

  • other:+3 added−0 removed

3 files+3 added−0 removed

modified:.github/workflows/tests-fast.yml+1 added
modified:.github/workflows/tests-installation-node.yml+1 added
39 unmodified lines
40 packages.microsoft.com:44341 archive.ubuntu.com:8042 security.ubuntu.com:8043 production.cloudflare.docker.com:44344 production.cloudfront.docker.com:44345 registry-1.docker.io:44346 auth.docker.io:44347 - uses: actions/checkout@v648 with:
81 unmodified lines
modified:.github/workflows/tests-xenial.yml+1 added
36 unmodified lines
37 packages.microsoft.com:44338 archive.ubuntu.com:8039 security.ubuntu.com:8040 production.cloudflare.docker.com:44341 production.cloudfront.docker.com:44342 registry-1.docker.io:44343 auth.docker.io:44344 - uses: actions/checkout@v645 with:
74 unmodified lines