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
081ec18a
Unverified
Commit
081ec18a
authored
Aug 01, 2025
by
wukongdaily
Committed by
GitHub
Aug 01, 2025
Browse files
Rockchip工作流增加docker可选项
parent
d8eedce0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
5 deletions
+32
-5
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
+11
-0
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
+11
-0
rockchip/23.05.4/build.sh
rockchip/23.05.4/build.sh
+5
-3
rockchip/build.sh
rockchip/build.sh
+5
-2
No files found.
.github/workflows/build-rockchip-immortalWrt-23.05.4.yml
View file @
081ec18a
...
@@ -37,6 +37,15 @@ on:
...
@@ -37,6 +37,15 @@ on:
description
:
'
设置软件包大小
单位(MB)'
description
:
'
设置软件包大小
单位(MB)'
required
:
true
required
:
true
default
:
'
1024'
default
:
'
1024'
include_docker
:
description
:
|
是否编译 Docker 插件
required
:
true
default
:
'
yes'
type
:
choice
options
:
-
'
yes'
-
'
no'
enable_pppoe
:
enable_pppoe
:
description
:
"
是否配置PPPoE拨号信息?"
description
:
"
是否配置PPPoE拨号信息?"
required
:
true
required
:
true
...
@@ -75,6 +84,7 @@ jobs:
...
@@ -75,6 +84,7 @@ jobs:
-
name
:
Building Rockchip ImmortalWrt
-
name
:
Building Rockchip ImmortalWrt
run
:
|
run
:
|
profiles="${{ github.event.inputs.profile }}"
profiles="${{ github.event.inputs.profile }}"
include_docker="${{ github.event.inputs.include_docker }}"
rootfs_partsize="${{ github.event.inputs.rootfs_partsize }}"
rootfs_partsize="${{ github.event.inputs.rootfs_partsize }}"
IFS=',' read -r -a profile_array <<< "$profiles"
IFS=',' read -r -a profile_array <<< "$profiles"
...
@@ -91,6 +101,7 @@ jobs:
...
@@ -91,6 +101,7 @@ jobs:
-v "${{ github.workspace }}/shell:/home/build/immortalwrt/shell" \
-v "${{ github.workspace }}/shell:/home/build/immortalwrt/shell" \
-v "${{ github.workspace }}/rockchip/23.05.4/build.sh:/home/build/immortalwrt/build.sh" \
-v "${{ github.workspace }}/rockchip/23.05.4/build.sh:/home/build/immortalwrt/build.sh" \
-e PROFILE=$profile \
-e PROFILE=$profile \
-e INCLUDE_DOCKER=$include_docker \
-e ROOTFS_PARTSIZE=$rootfs_partsize \
-e ROOTFS_PARTSIZE=$rootfs_partsize \
-e ENABLE_PPPOE=${{ inputs.enable_pppoe }} \
-e ENABLE_PPPOE=${{ inputs.enable_pppoe }} \
-e PPPOE_ACCOUNT=${{ inputs.pppoe_account }} \
-e PPPOE_ACCOUNT=${{ inputs.pppoe_account }} \
...
...
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
View file @
081ec18a
...
@@ -57,6 +57,15 @@ on:
...
@@ -57,6 +57,15 @@ on:
description
:
'
设置软件包大小
单位(MB)'
description
:
'
设置软件包大小
单位(MB)'
required
:
true
required
:
true
default
:
'
1024'
default
:
'
1024'
include_docker
:
description
:
|
是否编译 Docker 插件
required
:
true
default
:
'
yes'
type
:
choice
options
:
-
'
yes'
-
'
no'
enable_pppoe
:
enable_pppoe
:
description
:
"
是否配置PPPoE拨号信息?"
description
:
"
是否配置PPPoE拨号信息?"
required
:
true
required
:
true
...
@@ -96,6 +105,7 @@ jobs:
...
@@ -96,6 +105,7 @@ jobs:
-
name
:
Building Rockchip ImmortalWrt
-
name
:
Building Rockchip ImmortalWrt
run
:
|
run
:
|
profiles="${{ github.event.inputs.profile }}"
profiles="${{ github.event.inputs.profile }}"
include_docker="${{ github.event.inputs.include_docker }}"
rootfs_partsize="${{ github.event.inputs.rootfs_partsize }}"
rootfs_partsize="${{ github.event.inputs.rootfs_partsize }}"
IFS=',' read -r -a profile_array <<< "$profiles"
IFS=',' read -r -a profile_array <<< "$profiles"
...
@@ -112,6 +122,7 @@ jobs:
...
@@ -112,6 +122,7 @@ jobs:
-v "${{ github.workspace }}/shell:/home/build/immortalwrt/shell" \
-v "${{ github.workspace }}/shell:/home/build/immortalwrt/shell" \
-v "${{ github.workspace }}/rockchip/build.sh:/home/build/immortalwrt/build.sh" \
-v "${{ github.workspace }}/rockchip/build.sh:/home/build/immortalwrt/build.sh" \
-e PROFILE=$profile \
-e PROFILE=$profile \
-e INCLUDE_DOCKER=$include_docker \
-e ROOTFS_PARTSIZE=$rootfs_partsize \
-e ROOTFS_PARTSIZE=$rootfs_partsize \
-e ENABLE_PPPOE=${{ inputs.enable_pppoe }} \
-e ENABLE_PPPOE=${{ inputs.enable_pppoe }} \
-e PPPOE_ACCOUNT=${{ inputs.pppoe_account }} \
-e PPPOE_ACCOUNT=${{ inputs.pppoe_account }} \
...
...
rockchip/23.05.4/build.sh
View file @
081ec18a
...
@@ -61,12 +61,14 @@ PACKAGES="$PACKAGES luci-i18n-argon-config-zh-cn"
...
@@ -61,12 +61,14 @@ PACKAGES="$PACKAGES luci-i18n-argon-config-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-ttyd-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-ttyd-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-homeproxy-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-homeproxy-zh-cn"
PACKAGES
=
"
$PACKAGES
openssh-sftp-server"
PACKAGES
=
"
$PACKAGES
openssh-sftp-server"
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
# 代理工具
# 代理工具
PACKAGES
=
"
$PACKAGES
luci-i18n-passwall-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-passwall-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-app-openclash"
PACKAGES
=
"
$PACKAGES
luci-app-openclash"
# docker
# 判断是否需要编译 Docker 插件
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
if
[
"
$INCLUDE_DOCKER
"
=
"yes"
]
;
then
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 静态文件服务器dufs(推荐)
# 静态文件服务器dufs(推荐)
PACKAGES
=
"
$PACKAGES
luci-i18n-dufs-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-dufs-zh-cn"
# ======== shell/custom-packages.sh =======
# ======== shell/custom-packages.sh =======
...
...
rockchip/build.sh
View file @
081ec18a
...
@@ -63,8 +63,11 @@ PACKAGES="$PACKAGES luci-i18n-ttyd-zh-cn"
...
@@ -63,8 +63,11 @@ PACKAGES="$PACKAGES luci-i18n-ttyd-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-passwall-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-passwall-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-app-openclash"
PACKAGES
=
"
$PACKAGES
luci-app-openclash"
PACKAGES
=
"
$PACKAGES
luci-i18n-homeproxy-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-homeproxy-zh-cn"
# docker
# 判断是否需要编译 Docker 插件
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
if
[
"
$INCLUDE_DOCKER
"
=
"yes"
]
;
then
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
echo
"Adding package: luci-i18n-dockerman-zh-cn"
fi
# 文件管理器
# 文件管理器
PACKAGES
=
"
$PACKAGES
luci-i18n-filemanager-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-filemanager-zh-cn"
# 静态文件服务器dufs(推荐)
# 静态文件服务器dufs(推荐)
...
...
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