chore: upgrade pnpm to 10.34.5 and delay fresh releases by 3 days (#1… #5
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
| name: Codegen image cache | |
| # Seeds the buildkit caches for codegen.Dockerfile and copybara.Dockerfile | |
| # from main so pull request runs of generated_files.yml warm-start. PR-scoped | |
| # cache writes are not readable by other PRs, so main is the only scope worth | |
| # writing to. | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'codegen.Dockerfile' | |
| - 'copybara.Dockerfile' | |
| - '.github/workflows/codegen_image_cache.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| seed: | |
| name: Seed codegen image cache | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build codegen image and export cache | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: codegen.Dockerfile | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Build copybara image and export cache | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: copybara.Dockerfile | |
| cache-from: type=gha,scope=copybara | |
| cache-to: type=gha,mode=max,scope=copybara |