-
Notifications
You must be signed in to change notification settings - Fork 788
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
Rebuild layer if a change in ARG is detected #2938
Conversation
All kinds of test unhappiness @umohnani8 |
4a07a77
to
d72fc30
Compare
LGTM |
@containers/podman-maintainers PTAL |
LGTM |
Check whether the ARG in the containerfile is changed by either the --build-arg flag or local environment and use the cached layer or rebuild the layer accordingly. Add tests for this use case as well. Signed-off-by: Urvashi Mohnani <[email protected]>
LGTM |
/lgtm |
We should backport to 1.19 right? |
/approve |
1 similar comment
/approve |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: rhatdan, TomSweeneyRedHat, umohnani8 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Urvashi Mohnani [email protected]
What type of PR is this?
/kind bug
What this PR does / why we need it:
Check whether the ARG in the containerfile is changed by
either the --build-arg flag or local environment and use
the cached layer or rebuild the layer accordingly.
Add tests for this use case as well.
How to verify it
Which issue(s) this PR fixes:
Fixes #2848
Fixes #2837
Special notes for your reviewer:
Does this PR introduce a user-facing change?