build openwrt images #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Action to build lxd images | |
--- | |
name: build images | |
on: | |
# Allows manual workflow run (must in default branch to work) | |
workflow_dispatch: | |
jobs: | |
build-openwrt-images: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: build | |
run: | | |
docker run --rm \ | |
-v /${{ github.workspace }}/bin/:/builder/bin \ | |
docker.io/openwrt/imagebuilder:ath79-generic-main \ | |
make image \ | |
PROFILE="tplink_archer-c7-v4" \ | |
PACKAGES="luci luci-ssl luci-theme-material luci-app-sqm netbird kmod-wireguard" | |
- name: Upload image artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: openwrt-images | |
path: bin |