You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pushing images to ECR and Docker Hub times out, or fails with cryptic errors.
Reproduction
Try to push one of the example projects to ECR or Docker Hub.
Package versions
% swift sdk list
swift-6.0.1-RELEASE_static-linux-0.0.1
Expected behavior
It should be possible to push to any registry.
Environment
Xcode 16
% echo $TOOLCHAINS
org.swift.6010202409231a
Additional information
Pushing to a local registry succeeds, as does pushing to some other network-hosted registries.
In the failing case, small blobs such as config objects are uploaded correctly. An artificially small image layer containing just a text file also succeeds. Large blobs, such as static binaries or base image layers, fail to upload.
I suspect containertool is not sending streaming uploads, and the registries, or load balancers in front of them, are rejecting the uploads for being too large.
Description
Pushing images to ECR and Docker Hub times out, or fails with cryptic errors.
Reproduction
Try to push one of the example projects to ECR or Docker Hub.
Package versions
Expected behavior
It should be possible to push to any registry.
Environment
Xcode 16
Additional information
Pushing to a local registry succeeds, as does pushing to some other network-hosted registries.
In the failing case, small blobs such as config objects are uploaded correctly. An artificially small image layer containing just a text file also succeeds. Large blobs, such as static binaries or base image layers, fail to upload.
I suspect
containertool
is not sending streaming uploads, and the registries, or load balancers in front of them, are rejecting the uploads for being too large.The problem with ECR was reported in #14
The text was updated successfully, but these errors were encountered: