Skip to content

Commit

Permalink
Update Actions OpenWrt Docker Images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zzsrv committed Jun 11, 2024
1 parent e1aec9e commit 0d72a68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/Actions OpenWrt Docker Images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
cd immortalwrt-imagebuilder-$DEVICE_VERSION-$DEVICE_TARGET-$DEVICE_SUBTARGET.Linux-x86_64
cp -rf $GITHUB_WORKSPACE/files .
chmod +x files/etc/rc.local
rm -rf $GITHUB_WORKSPACE/*rootfs.tar.gz
- name: Build RootFS (amd64)
if: env.DOCKER_EXTERA_TAG == 'amd64'
Expand All @@ -126,14 +127,12 @@ jobs:
$GITHUB_WORKSPACE/scripts/preset-terminal-tools.sh
export CONFIG_PACKAGES=$(cat $GITHUB_WORKSPACE/config/packages.config | tr -s "\n" " ")
make image PACKAGES="$CONFIG_PACKAGES" FILES="files"
rm -rf $GITHUB_WORKSPACE/*rootfs.tar.gz
cp -rf bin/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/*rootfs.tar.gz $GITHUB_WORKSPACE
- name: Build RootFS (aarch64)
if: env.DOCKER_EXTERA_TAG == 'aarch64'
run: |
wget -q https://storage.openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/immortalwrt-$DEVICE_TARGET-$DEVICE_SUBTARGET-rootfs.tar.gz
rm -rf $GITHUB_WORKSPACE/*rootfs.tar.gz
cp -rf *rootfs.tar.gz $GITHUB_WORKSPACE
- name: Delete Image Builder
Expand Down

0 comments on commit 0d72a68

Please sign in to comment.