Commit d4c506c
committed
Optimize PR CI with custom Docker image and pre-installed dependencies
- Added `.ci/container/Dockerfile` to pre-install JDKs (8, 17, 21) and cache `cn1-binaries`.
- Added `.github/workflows/build-container.yml` to build and push the image to GHCR, ensuring the repository name is lowercased for valid Docker tags.
- Updated `.github/workflows/pr.yml` to run inside the new container, replacing `setup-java` with fast environment switching and linking pre-downloaded binaries.
- Fixed an issue where mixed-case repository names caused Docker build failures by enforcing lowercase tags in `build-container.yml` and using the canonical image name in `pr.yml`.1 parent 6a721aa commit d4c506c
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
32 | | - | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments