Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
41f09215
Unverified
Commit
41f09215
authored
Sep 24, 2025
by
wukongdaily
Committed by
GitHub
Sep 24, 2025
Browse files
Rockchip 软路由新增在工作流的UI上设置LAN IP功能
Rockchip 软路由新增在工作流的UI上设置LAN IP功能
parents
17b5a7a2
b628e51a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
2 deletions
+58
-2
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
+29
-1
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
+29
-1
No files found.
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
View file @
41f09215
...
@@ -37,6 +37,10 @@ on:
...
@@ -37,6 +37,10 @@ on:
description
:
'
设置软件包大小
单位(MB)'
description
:
'
设置软件包大小
单位(MB)'
required
:
true
required
:
true
default
:
'
1024'
default
:
'
1024'
custom_router_ip
:
description
:
"
请设置软路由的管理地址(注意仅对多网口软路由有效)
格式:192.168.x.1
或
10.x.x.1"
required
:
true
default
:
"
192.168.100.1"
enable_store
:
enable_store
:
description
:
"
集成
store
商店"
description
:
"
集成
store
商店"
required
:
false
required
:
false
...
@@ -76,6 +80,13 @@ jobs:
...
@@ -76,6 +80,13 @@ jobs:
-
name
:
Set executable permissions
-
name
:
Set executable permissions
run
:
chmod +x ${{ github.workspace }}/rockchip/build23.sh
run
:
chmod +x ${{ github.workspace }}/rockchip/build23.sh
-
name
:
Save Custom Router IP into OpenWrt files
run
:
|
mkdir -p "${{ github.workspace }}/custom"
echo "${{ github.event.inputs.custom_router_ip }}" > "${{ github.workspace }}/custom/custom_router_ip.txt"
echo "您设置的Rockchip软路由管理地址是:${{ github.event.inputs.custom_router_ip }}"
# 后续步骤会将该文件映射到路由器/etc/config/custom_router_ip.txt 以便用于开机脚本99-custom.sh读取用户设置的ip
-
name
:
Validate PPPoE Inputs
-
name
:
Validate PPPoE Inputs
run
:
|
run
:
|
...
@@ -123,13 +134,30 @@ jobs:
...
@@ -123,13 +134,30 @@ jobs:
immortalwrt/imagebuilder:rockchip-armv8-openwrt-23.05.4 /bin/bash /home/build/immortalwrt/build.sh
immortalwrt/imagebuilder:rockchip-armv8-openwrt-23.05.4 /bin/bash /home/build/immortalwrt/build.sh
done
done
-
name
:
Create info
run
:
|
cat > ${{ github.workspace }}/router-info.md <<EOF
## 📡 路由器后台信息
- ✳️ **软路由型号**: ${{ github.event.inputs.profile }}
- 🏠 **后台地址**: ${{ github.event.inputs.custom_router_ip }}
- 👤 **用户名**: root
- 🔑 **密码**: 无
EOF
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
extra_content="#### 默认带docker"
echo -e "\n$extra_content" >> ${{ github.workspace }}/router-info.md
else
echo -e "\n#### 不带docker" >> ${{ github.workspace }}/router-info.md
fi
-
name
:
Upload ImmortWrt as release assets
-
name
:
Upload ImmortWrt as release assets
uses
:
softprops/action-gh-release@v2.2.1
uses
:
softprops/action-gh-release@v2.2.1
with
:
with
:
tag_name
:
Autobuild-23.05.4
tag_name
:
Autobuild-23.05.4
name
:
ImmortWrt-Rockchip
name
:
ImmortWrt-Rockchip
body_path
:
${{ github.workspace }}/info.md
body_path
:
${{ github.workspace }}/
router-
info.md
files
:
|
files
:
|
${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz
${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz
token
:
${{ secrets.GITHUB_TOKEN }}
token
:
${{ secrets.GITHUB_TOKEN }}
...
...
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
View file @
41f09215
...
@@ -53,6 +53,10 @@ on:
...
@@ -53,6 +53,10 @@ on:
-
xunlong_orangepi-r1-plus-lts
-
xunlong_orangepi-r1-plus-lts
required
:
true
required
:
true
default
:
'
friendlyarm_nanopi-r3s'
default
:
'
friendlyarm_nanopi-r3s'
custom_router_ip
:
description
:
"
请设置软路由的管理地址(注意仅对多网口软路由有效)
格式:192.168.x.1
或
10.x.x.1"
required
:
true
default
:
"
192.168.100.1"
rootfs_partsize
:
rootfs_partsize
:
description
:
'
设置软件包大小
单位(MB)'
description
:
'
设置软件包大小
单位(MB)'
required
:
true
required
:
true
...
@@ -97,6 +101,13 @@ jobs:
...
@@ -97,6 +101,13 @@ jobs:
-
name
:
Set executable permissions
-
name
:
Set executable permissions
run
:
chmod +x ${{ github.workspace }}/rockchip/build24.sh
run
:
chmod +x ${{ github.workspace }}/rockchip/build24.sh
-
name
:
Save Custom Router IP into OpenWrt files
run
:
|
mkdir -p "${{ github.workspace }}/custom"
echo "${{ github.event.inputs.custom_router_ip }}" > "${{ github.workspace }}/custom/custom_router_ip.txt"
echo "您设置的Rockchip软路由管理地址是:${{ github.event.inputs.custom_router_ip }}"
# 后续步骤会将该文件映射到路由器/etc/config/custom_router_ip.txt 以便用于开机脚本99-custom.sh读取用户设置的ip
-
name
:
Validate PPPoE Inputs
-
name
:
Validate PPPoE Inputs
run
:
|
run
:
|
if [[ "${{ inputs.enable_pppoe }}" == "yes" ]]; then
if [[ "${{ inputs.enable_pppoe }}" == "yes" ]]; then
...
@@ -144,13 +155,30 @@ jobs:
...
@@ -144,13 +155,30 @@ jobs:
immortalwrt/imagebuilder:rockchip-armv8-openwrt-24.10.2 /bin/bash /home/build/immortalwrt/build.sh
immortalwrt/imagebuilder:rockchip-armv8-openwrt-24.10.2 /bin/bash /home/build/immortalwrt/build.sh
done
done
-
name
:
Create info
run
:
|
cat > ${{ github.workspace }}/router-info.md <<EOF
## 📡 路由器后台信息
- ✳️ **软路由型号**: ${{ github.event.inputs.profile }}
- 🏠 **后台地址**: ${{ github.event.inputs.custom_router_ip }}
- 👤 **用户名**: root
- 🔑 **密码**: 无
EOF
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
extra_content="#### 默认带docker"
echo -e "\n$extra_content" >> ${{ github.workspace }}/router-info.md
else
echo -e "\n#### 不带docker" >> ${{ github.workspace }}/router-info.md
fi
-
name
:
Upload ImmortWrt as release assets
-
name
:
Upload ImmortWrt as release assets
uses
:
softprops/action-gh-release@v2.2.1
uses
:
softprops/action-gh-release@v2.2.1
with
:
with
:
tag_name
:
Autobuild
tag_name
:
Autobuild
name
:
ImmortWrt-Rockchip
name
:
ImmortWrt-Rockchip
body_path
:
${{ github.workspace }}/info.md
body_path
:
${{ github.workspace }}/
router-
info.md
files
:
|
files
:
|
${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz
${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz
token
:
${{ secrets.GITHUB_TOKEN }}
token
:
${{ secrets.GITHUB_TOKEN }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment