Skip to content

build openwrt images #9

build openwrt images

build openwrt images #9

Workflow file for this run

# 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: |
mkdir ${{ github.workspace }}/bin/
sudo chown 1000:1000 ${{ github.workspace }}/bin/
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