VED-1152: Skip redundant Docker builds and enabling layer caching#1383
Merged
Thomas-Boyle merged 13 commits intomasterfrom Apr 14, 2026
Merged
VED-1152: Skip redundant Docker builds and enabling layer caching#1383Thomas-Boyle merged 13 commits intomasterfrom
Thomas-Boyle merged 13 commits intomasterfrom
Conversation
…Introduced a build metadata preparation step to check for existing images before building and pushing, enhancing efficiency. Updated ECR login and Docker build steps to conditionally execute based on the presence of existing images, improving deployment reliability.
a658ebc to
0fb43e4
Compare
…improve build consistency.
…ensure compatibility and improve build reliability.
…kflow to improve clarity.
…or improved security and functionality.
Contributor
avshetty1980
left a comment
There was a problem hiding this comment.
just a few comments
…n Docker deployment
avshetty1980
previously approved these changes
Apr 13, 2026
avshetty1980
approved these changes
Apr 13, 2026
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
amarauzoma
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Optimised Lambda artifact workflow to resolve image metadata first, detect existing immutable git-tagged images in ECR, and set should_build before any Docker actions.
Made ECR login, Buildx setup, and Docker build/push conditional on should_build=true, adding GitHub Actions layer caching (cache-from/cache-to) to speed required rebuilds.
Preserved deployment behavior and interface by always emitting final digest (built or reused) and keeping downstream outputs unchanged: image_version, image_digest, image_uri.