Skip to content

xuncv/openwrt-builder

Repository files navigation

手上的openwrt设备比较多,因此结合了几个开源github actions,集成成一个项目。可以支持的设备有x86-64,N1 docker,wrt1900acs,NAS DOCKER,虚拟机等。云编译完成后,可以到Release页面下载固件或到dockerhub拉取。

需修改的地方:

REPOSITORY: 自己的dockerhub repository (x86-64、n1脚本修改)

github的Secrets中添加Repository secrets

KEY VALUE
DOCKER_USERNAME dockerhub 帐号名
DOCKER_TOKEN dockerhub 密码

Actions-OpenWrt

LICENSE GitHub Stars GitHub Forks

Build OpenWrt using GitHub Actions

Read the details in my blog (in Chinese) | 中文教程

Usage

  • Click the Use this template button to create a new repository.
  • Generate .config files using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. )
  • Push .config file to the GitHub repository.
  • Select Build OpenWrt on the Actions page.
  • Click the Run workflow button.
  • When the build is complete, click the Artifacts button in the upper right corner of the Actions page to download the binaries.

Tips

  • It may take a long time to create a .config file and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply search Actions-Openwrt in GitHub.
  • Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time.

Acknowledgments

License

MIT © P3TERX

About

all in one,基于github actions的openwrt 编译脚本,支持x86,x86_64,WRTACS1900,x86 docker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published