chg: github actions use sudo
This commit is contained in:
parent
41140df950
commit
b0c0fd7e82
1 changed files with 5 additions and 5 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -28,9 +28,9 @@ jobs:
|
||||||
# Runs a set of commands using the runners shell
|
# Runs a set of commands using the runners shell
|
||||||
- name: Run a multi-line script
|
- name: Run a multi-line script
|
||||||
run: |
|
run: |
|
||||||
apt update
|
sudo apt update
|
||||||
apt-get -y install coreutils quilt parted qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc qemu-utils kpartx gpg pigz
|
sudo apt-get -y install coreutils quilt parted qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc qemu-utils kpartx gpg pigz
|
||||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
sudo curl -fsSL https://get.docker.com -o get-docker.sh
|
||||||
sh get-docker.sh
|
sudo sh ./get-docker.sh
|
||||||
./build-docker.sh
|
sudo ./build-docker.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue