Skip to content

Commit 8096258

Browse files
committed
ci: use wildcard for Cloudflare R2 in Docker Build allowlist
The specific R2 bucket hashes Docker Hub serves layers from are opaque and can change. StepSecurity supports wildcards in allowed- endpoints; collapse the two bucket entries into `*.r2.cloudflarestorage.com:443`.
1 parent c873d82 commit 8096258

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,17 +396,16 @@ jobs:
396396
egress-policy: block
397397
disable-telemetry: true
398398
allowed-endpoints: >
399-
1ede90a8395416f286ba9f692dc6bacf.r2.cloudflarestorage.com:443
400399
api.github.com:443
401400
auth.docker.io:443
402-
docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com:443
403401
github.com:443
404402
gcr.io:443
405403
production.cloudflare.docker.com:443
406404
proxy.golang.org:443
407405
registry-1.docker.io:443
408406
storage.googleapis.com:443
409407
sum.golang.org:443
408+
*.r2.cloudflarestorage.com:443
410409
411410
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
412411
with:

0 commit comments

Comments
 (0)