cdk-assets: private ecr registry support overwrite any additional docker configuration #30743
Labels
@aws-cdk/aws-ecr
Related to Amazon Elastic Container Registry
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
The cdk-assets creates a new docker config file but it is only placing the contents of the ~/.cdk/cdk-docker-creds.json file and only the
credHelpers
property, so it is not even possible to include the proxy settings.Expected Behavior
Both configuration should be respected.
Current Behavior
Only credentials are kept.
Reproduction Steps
see before.
Possible Solution
Change this line: https://github.com/aws/aws-cdk/blob/1fcef6309e54d7ec1e179c22a47a235b38fa1673/packages/cdk-assets/lib/private/docker.ts#L168C81-L168C92
Options:
Additional Information/Context
No response
CDK CLI Version
2.147.0
Framework Version
No response
Node.js Version
Any
OS
Any
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: