@@ -139,20 +139,16 @@ jobs:
139139
140140 - name : Building Rockchip ImmortalWrt
141141 run : |
142- profiles ="${{ github.event.inputs.profile }}"
142+ profile ="${{ github.event.inputs.profile }}"
143143 include_docker="${{ github.event.inputs.include_docker }}"
144144 rootfs_partsize="${{ github.event.inputs.rootfs_partsize }}"
145145 luci_version="${{ github.event.inputs.luci_version }}"
146-
147- IFS=',' read -r -a profile_array <<< "$profiles"
148-
149- for profile in "${profile_array[@]}"; do
150- echo "Building for profile: $profile"
151-
152- docker run --rm -i \
146+ echo "Building for profile: $profile"
147+ docker run --rm -i \
153148 --user root \
154149 -v "${{ github.workspace }}/bin:/home/build/immortalwrt/bin" \
155- -v "${{ github.workspace }}/files/etc/uci-defaults:/home/build/immortalwrt/files/etc/uci-defaults" \
150+ -v "${{ github.workspace }}/files:/home/build/immortalwrt/files" \
151+ -v "${{ github.workspace }}/custom:/home/build/immortalwrt/files/etc/config" \
156152 -v "${{ github.workspace }}/arch/arch.conf:/home/build/immortalwrt/files/etc/opkg/arch.conf" \
157153 -v "${{ github.workspace }}/rockchip/imm.config:/home/build/immortalwrt/.config" \
158154 -v "${{ github.workspace }}/shell:/home/build/immortalwrt/shell" \
@@ -163,8 +159,8 @@ jobs:
163159 -e ENABLE_PPPOE=${{ inputs.enable_pppoe }} \
164160 -e PPPOE_ACCOUNT=${{ inputs.pppoe_account }} \
165161 -e PPPOE_PASSWORD=${{ inputs.pppoe_password }} \
166- immortalwrt/imagebuilder:rockchip-armv8-openwrt-${luci_version} /bin/bash /home/build/immortalwrt/build.sh
167- done
162+ immortalwrt/imagebuilder:rockchip-armv8-openwrt-${luci_version} /bin/bash /home/build/immortalwrt/build.sh
163+
168164
169165 - name : Create info
170166 run : |
0 commit comments