Skip to content

Commit 9ca0735

Browse files
committed
ci: replace with amazonlinux2 container image
Using vagrant for AmazonLinux 2 is troublesome to spin up AL2 VM frequently. It tend to stall network stack. Instead, directly specify jobs.job_id.container.image. It avoid issues run CGroup v1 container (AL2) on CGroup v2 host (ubuntu-latest). Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 66e93f5 commit 9ca0735

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/yum.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ jobs:
189189
# approach. Instead, use vagrant on Ubuntu 24.04.
190190
# (NOTE: nested VM is executable on macos-13, but it is too slow)
191191
runs-on: ubuntu-24.04
192+
container:
193+
image: docker.io/amazonlinux:2
192194
timeout-minutes: 15
193195
strategy:
194196
fail-fast: false

0 commit comments

Comments
 (0)