Skip to content

MEIER-326: Add Docker GH Actions cache to CI workflows#83

Merged
andymeierdev merged 1 commit intomainfrom
andymeierdev/MEIER-326/add-docker-gh-cache
Mar 24, 2026
Merged

MEIER-326: Add Docker GH Actions cache to CI workflows#83
andymeierdev merged 1 commit intomainfrom
andymeierdev/MEIER-326/add-docker-gh-cache

Conversation

@andymeierdev
Copy link
Copy Markdown
Collaborator

Summary

Adds Docker build layer caching via GitHub Actions cache to both CI workflows (deploy.yml and preview.yml), matching the pattern already used in the agent repo's Pulumi workflows.

Changes

.github/workflows/deploy.yml

  • Added Setup Docker Buildx step (docker/setup-buildx-action@v3) to enable the buildx builder
  • Added Expose GitHub Actions cache env step to export ACTIONS_CACHE_URL and ACTIONS_RUNTIME_TOKEN environment variables, allowing Docker builds triggered by Pulumi to leverage GHA cache for layer caching

.github/workflows/preview.yml

  • Same two steps added to the preview job, before the Pulumi authenticate step

Validation

  • Verified both workflow files match the caching pattern from ../agent/.github/workflows/deploy.yml and preview.yml
  • YAML structure reviewed for correct indentation and step ordering

@github-actions
Copy link
Copy Markdown

🍹 preview on andymeier/prod

Pulumi report

View in Pulumi Cloud

  Previewing update (prod)

View Live: https://app.pulumi.com/meiermade/andymeier/prod/previews/613ece2b-f02f-4104-981b-a1513af70306

pulumi:pulumi:Stack: (same)
  [urn=urn:pulumi:prod::andymeier::pulumi:pulumi:Stack::andymeier-prod]
Resources:
  16 unchanged
  

@andymeierdev andymeierdev merged commit 5ea563c into main Mar 24, 2026
2 checks passed
@andymeierdev andymeierdev deleted the andymeierdev/MEIER-326/add-docker-gh-cache branch March 24, 2026 14:13
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