kvrocks
kvrocks copied to clipboard
Add more linux distro environments in GitHub Actions
Search before asking
- [X] I had searched in the issues and found no similar issues.
Motivation
As in https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container, we can use jobs.<job_id>.container to make all steps run on a specific docker image, like centos or others.
Solution
No response
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
@PragmaTwice the issue here is what distros are supported on GitHub Actions (public).
@PragmaTwice the issue here is what distros are supported on GitHub Actions (public).
I think we can use images in docker hub, e.g.
jobs:
build:
runs-on: ubuntu:latest
container: centos:7 # `centos:7` image from docker hub
steps:
... # commands running on centos docker container