Build: try to fix docker support

This commit is contained in:
John Doe
2021-04-25 22:16:06 +08:00
parent 4e9df27a5b
commit 80509980e4
4 changed files with 6 additions and 0 deletions

View File

@@ -263,6 +263,9 @@ jobs:
- name: Generate firmware
run: |
if [[ ${{ github.event.client_payload.device || github.event.inputs.device }} == *"r1s"* ]]; then
sudo poweroff
fi
sudo sysctl vm.swappiness=0
curl -L https://github.com/klever1988/sshactions/releases/download/cache/ib-$DEVICE.tar.xz | tar -Jxvf -
mv *imagebuilder* ib && cd ib