fix(ci): bootstrap try getting rid of sudo

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2023-08-16 17:47:49 +08:00
committed by GitHub
parent cba38aa452
commit 8a78074f4d
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
fail-fast: true
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
container:
image: registry.fedoraproject.org/fedora:${{ matrix.version }}
image: registry.fedoraproject.org/fedora-minimal:${{ matrix.version }}
options: --cap-add=SYS_ADMIN --privileged
steps:
- uses: actions/setup-go@v3
@@ -20,7 +20,7 @@ jobs:
go-version: "^1.19"
- name: Install repositories
run: sudo dnf install -y mock createrepo_c rpm-build gcc curl wget git-core openssl-devel dnf5
run: dnf install -y mock createrepo_c rpm-build gcc curl wget git-core openssl-devel dnf5
- uses: actions-rs/toolchain@v1
with: