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
rockcraft.oci.Image class needs extending to add configurable credentials during the skopeo copy of the base image from Amazon ECR.
Will probably need adding the args as top-level rockcraft args themselves and transparently propagating the arguments down to the actual skopeo copy command using --src-creds as seen in man skopeo-copy.
Why it needs to get done
Although ECR is considerably more lenient than DockeHub in terms of data pull limits for unverified requests, it still has them, leading to errors like these:
Depending on the project being rock'd, these limits can be quite the nuisance.
The canonical/harbor-rocks repo for example defines rocks for 10 components x 3 versions x 2 architectures = 60 whole images, and it's virtually guaranteed that 2-3 of the build workflows will fail.
The text was updated successfully, but these errors were encountered:
What needs to get done
rockcraft.oci.Image
class needs extending to add configurable credentials during theskopeo copy
of the base image from Amazon ECR.Will probably need adding the args as top-level
rockcraft
args themselves and transparently propagating the arguments down to the actualskopeo copy
command using--src-creds
as seen inman skopeo-copy
.Why it needs to get done
Although ECR is considerably more lenient than DockeHub in terms of data pull limits for unverified requests, it still has them, leading to errors like these:
Depending on the project being rock'd, these limits can be quite the nuisance.
The
canonical/harbor-rocks
repo for example defines rocks for 10 components x 3 versions x 2 architectures = 60 whole images, and it's virtually guaranteed that 2-3 of the build workflows will fail.The text was updated successfully, but these errors were encountered: