Skip to content

Cache bust and update GH Actions Workflow cicd.yml to bust EWTS Docker cache when remote ref changes#156

Merged
cmaynard-ngwpc merged 2 commits into
developmentfrom
cmaynard_add_ewts_cache_bust
May 20, 2026
Merged

Cache bust and update GH Actions Workflow cicd.yml to bust EWTS Docker cache when remote ref changes#156
cmaynard-ngwpc merged 2 commits into
developmentfrom
cmaynard_add_ewts_cache_bust

Conversation

@cmaynard-ngwpc
Copy link
Copy Markdown

@cmaynard-ngwpc cmaynard-ngwpc commented May 14, 2026

  • Optimized Docker build caching
    • Added build args for ESMF and GDAL versions so their layers rebuild only when the version changes.
    • Introduced cache-busting args for EWTS, ESMF, and GDAL to allow targeted rebuilds of those layers when needed.
  • Improved CI/CD handling of EWTS builds
    • Updated GitHub Actions workflow to resolve EWTS_REF to its commit SHA and pass it as the EWTS_CACHE_BUST build arg.
    • Ensures the EWTS Docker layer rebuilds when a branch/tag HEAD changes, while preserving cache stability when using fixed commit hashes.

@miguelp1986 miguelp1986 force-pushed the cmaynard_add_ewts_cache_bust branch from 319ffc6 to 2313bf2 Compare May 20, 2026 18:28
@cmaynard-ngwpc cmaynard-ngwpc merged commit 8575f4f into development May 20, 2026
5 checks passed
@cmaynard-ngwpc cmaynard-ngwpc deleted the cmaynard_add_ewts_cache_bust branch May 21, 2026 19:43
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.

2 participants