Those under swift are 'official' Docker images and the process for updating those images are contrived, it has to go through the Docker Project CI, and there's a delay in updates being requested and them getting published (multiple days).
The swiftlang org gives Swift much more flexibility and control over how images are published and I don't think nightlies would be possible in the official images. Many other images use the same approach, e.g. https://hub.docker.com/r/nginx/nginx-ingress/tags
Not using the official images is not an option for obvious reasons
There's no reason why we couldn't mirror the official images I guess.
In terms of not using the official repository for Swift release images - it would not be a good look for Swift. Having a Swift image in the official list provides some semblance of it being a 'real' language
This seems like a good thread to bring up my favorite pet peeve with the docker images:
❯ docker run --platform linux/amd64 swiftlang/swift:nightly-main swift --version
Swift version 5.8-dev (LLVM b2416e1165ab97c, Swift 965a54f037cfa76)
Target: x86_64-unknown-linux-gnu
Would be nice if this one could be moved/removed so that it becomes more obvious that swiftlang/swift:nightly-main-jammy is the real main image.
$ docker run --platform linux/amd64 swiftlang/swift:nightly-main swift --version
Swift version 6.0-dev (LLVM 6c1a2ac10cabb71, Swift ec995d0e46aa0e8)
Target: x86_64-unknown-linux-gnu