From 29a9deb4ece16cec36e81c45f008cdb0c662eedf Mon Sep 17 00:00:00 2001 From: Andrew Meier Date: Tue, 24 Mar 2026 10:08:50 -0400 Subject: [PATCH] MEIER-326: Add Docker GH Actions cache to CI workflows --- .github/workflows/deploy.yml | 10 ++++++++++ .github/workflows/preview.yml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eeb1eac..10334a2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,6 +29,16 @@ jobs: - name: TypeScript Check working-directory: ./pulumi run: npm run check + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + version: latest + - name: Expose GitHub Actions cache env + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_CACHE_URL', process.env['ACTIONS_CACHE_URL']) + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN']) - name: Authenticate Pulumi uses: pulumi/auth-actions@v1 with: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 9bda1b9..cecdf7a 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -47,6 +47,16 @@ jobs: - name: TypeScript Check working-directory: ./pulumi run: npm run check + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + version: latest + - name: Expose GitHub Actions cache env + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_CACHE_URL', process.env['ACTIONS_CACHE_URL']) + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN']) - name: Authenticate Pulumi uses: pulumi/auth-actions@v1 with: