-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(docker): cannot use cdk docker assets as base image #6471
Conversation
Ensure `docker login` is called before `docker build` to allow using cdk docker assets as base image for other docker assets. Fixes aws#6466
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rix0rrr please see this, as it may also need to be reflected in CDK-assets.
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
@jogold how do you reference other assets? Their build order is not guaranteed and I would consider their local names an implementation detail (and their remote names a deployment order detail), so I'm curious how you would go about this in practice in a way that's not liable to break? |
See #6466 where I describe a pattern to do this. |
Ensure
docker login
is called beforedocker build
to allow using cdk dockerassets as base image for other docker assets.
Fixes #6466
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license