Skip to content

VED-1152: Skip redundant Docker builds and enabling layer caching#1383

Open
Thomas-Boyle wants to merge 9 commits intomasterfrom
deployment-docker-build-optimisations
Open

VED-1152: Skip redundant Docker builds and enabling layer caching#1383
Thomas-Boyle wants to merge 9 commits intomasterfrom
deployment-docker-build-optimisations

Conversation

@Thomas-Boyle
Copy link
Copy Markdown
Contributor

  • 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.

…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.
@Thomas-Boyle Thomas-Boyle had a problem deploying to internal-dev-sandbox April 8, 2026 14:54 — with GitHub Actions Failure
@Thomas-Boyle Thomas-Boyle had a problem deploying to internal-dev-sandbox April 8, 2026 15:10 — with GitHub Actions Failure
@Thomas-Boyle Thomas-Boyle temporarily deployed to internal-dev-sandbox April 9, 2026 08:48 — with GitHub Actions Inactive
@Thomas-Boyle Thomas-Boyle temporarily deployed to internal-dev-sandbox April 9, 2026 08:52 — with GitHub Actions Inactive
@Thomas-Boyle Thomas-Boyle temporarily deployed to internal-dev-sandbox April 9, 2026 08:53 — with GitHub Actions Inactive
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant