Skip to content

Commit 2d33a91

Browse files
committed
optimize rootfs scripts
1 parent c189282 commit 2d33a91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .github/workflows/auto-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
commentbody="${{github.event.comment.body}}"
1919
commentbody=$(echo $commentbody | sed "s/\/imagebuild//g")
2020
sudo git clone https://github.com/sealerio/basefs.git && cd basefs
21-
sudo touch autobuild.log && sudo chmod 666 autobuild.log && sudo bash auto-build.sh --username="${{secrets.REGISTRY_USERNAME}}" --password="${{secrets.REGISTRY_PASSWORD}}" $commentbody > autobuild.log && cat autobuild.log
21+
sudo touch autobuild.log && sudo chmod 666 autobuild.log && sudo bash auto.sh --username="${{secrets.REGISTRY_USERNAME}}" --password="${{secrets.REGISTRY_PASSWORD}}" $commentbody > autobuild.log && cat autobuild.log
2222
echo "::set-output name=info::$(grep 'cri:' autobuild.log))"
2323
2424
- name: Success Commit

Diff for: auto-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ for i in "$@"; do
6363
esac
6464
done
6565

66-
version_compare() { printf '%s\n%s\n' "$2" "$1" | sort -V -C; } ## version_vompare $a $b: a>=b
66+
version_compare() { printf '%s\n%s\n' "$2" "$1" | sort -V -C; } ## version_compare $a $b: a>=b
6767

6868
ARCH=$(case "$(uname -m)" in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo "unsupported architecture" "$(uname -m)" && exit 1 ;; esac)
6969

0 commit comments

Comments
 (0)