chg: github actions use sudo

This commit is contained in:
nathanael-h 2022-07-18 18:03:45 +02:00 committed by GitHub
parent 41140df950
commit b0c0fd7e82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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