act 提供的docker 镜像说明
act 是基于docker 实现了github actions 的本地运行,当然我们直接运行是需要使用docker 镜像的,了解
act内部提供的docker 镜像有助于更好的熟悉内部机制以及更好的使用
一些说明
镜像构建是基于了buildpacj-deps
node镜像说明
- node 是基于了debian 的root 文件系统
- node slim 镜像不包含python,如果需要的任务是依赖python 的就不适合
包含的镜像
node:12-buster
node:12-buster-slim
node:16-buster
node:16-buster-slim
目前提供了 12,16 版本的
ubuntu 镜像
catthehacker/ubuntu 基于ubuntu root 文件系统提供了20以及18版本的
包含的镜像
ghcr.io/catthehacker/ubuntu:act-latest
ghcr.io/catthehacker/ubuntu:act-20.04
ghcr.io/catthehacker/ubuntu:act-18.04
ghcr.io/catthehacker/ubuntu:act-16.04
act-environments 环境
github actions 官方包含了不少环境的比如ubuntu,macos,windows。。。但是因为本地运行,暂时官方只提供了ubuntu 版本的
包含的镜像
nektos/act-environments-ubuntu:18.04
nektos/act-environments-ubuntu:18.04-lite
nektos/act-environments-ubuntu:18.04-full
说明
官方同时提供了github 仓库我们可以参考学习,查看实际的处理机制
参考资料
https://github.com/nektos/act/blob/master/IMAGES.md
https://www.cnblogs.com/rongfengliang/p/13353793.html
https://github.com/docker-library/buildpack-deps
https://github.com/catthehacker/docker_images
https://github.com/actions/virtual-environments
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
2021-05-15 nunjucks jinja2 启发的nodejs 模板引擎
2021-05-15 使用jinja 模板引擎生成cube.js schema 文件
2019-05-15 处理kubernetes 一些比较难删除的资源