Skip to content

izer-xyz/openwrt-imagebuilder-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

openwrt-imagebuilder-action

Build and OpenWrt firmware image using Imagebuilder.

Usage

Use template repo: openwrt-imagebuilder-action-template

See action.yml from more details.

Parameters

  • image: bcm27xx-bcm2711
  • profile: Default
  • openwrt-version: 22.03.5
  • packages: -ppp
  • files: test/files
  • disabled-services: dhcp

Outputs

  • ./bin/*
    • e.g. ./bin/squashfs-factory.img.gz

An example workflow creating a very basic (packages removed; custom files added) image and then running with Qemu

Build a firmware image without ppp package

steps:
- uses: izer-xyz/openwrt-imagebuilder-action@v1
  with:
    image: bcm27xx-bcm2711
    openwrt-version: 22.03.5
    packages: -ppp 

Add custom files

steps:
- uses: izer-xyz/openwrt-imagebuilder-action@v1
  with:
    image: bcm27xx-bcm2711
    openwrt-version: 22.03.5
    files: test/files

FAQ

How to find image and openwrt-version

The Docker Hub Imagebuilder tags are formatted ${image}-${openwrt-version}. E.g.

Additional Documentation

License

The scripts and documentation in this project are released under the MIT License.