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
Since we made the change in #335 to login to registries after all Docker build and tests, we no longer have the option to cache-to or cache-from registries that require authentication.
We could could consider logging in before Docker bake, but we need to consider if that would potentially leak secrets during a bake step?
The text was updated successfully, but these errors were encountered:
klutchell
changed the title
Docker build does not have credentials for private cache-to and cache-from
Docker buildx does not have credentials
Feb 6, 2023
klutchell
changed the title
Docker buildx does not have credentials
Docker buildx does not have access to restricted repos
Feb 6, 2023
Since we made the change in #335 to login to registries after all Docker build and tests, we no longer have the option to cache-to or cache-from registries that require authentication.
Example: https://github.com/klutchell/dnscrypt-proxy-docker/blob/d33b53b670dc76808164ef69d09c30731fecf000/docker-bake.hcl#L18-L27
We could could consider logging in before Docker bake, but we need to consider if that would potentially leak secrets during a bake step?
The text was updated successfully, but these errors were encountered: