-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: missing or partial support for pattern substition in variable when cache enabled #2968
FIX: missing or partial support for pattern substition in variable when cache enabled #2968
Conversation
Dockerfile:
build
without fix
|
@aaron-prindle, hi! Review pls) |
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.
Changes look good to me. @aaron-prindle, please take a look if you are interested, otherwise we can merge it today
…erences with cache enabled
23d2d4b
to
d206fb9
Compare
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.
Thanks for the PR @kt315, LGTM!
Fixes #1246
Description
There is no need to interpolate the variables in the RUN command to calculate the hash because the ARG and ENV variables are added when the CompositeCache is built.
Therefore, we can now use all substitutions from bash.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes