Skip to content

Commit 47d58b3

Browse files
committed
ci: Fix Permission denied error for cargo build
Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent 92ee82d commit 47d58b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
sudo podman build -t localhost/bootc-fsverity -f ci/Containerfile.install-fsverity
7474
7575
# TODO move into a container, and then have this tool run other containers
76-
cargo build --release -p tests-integration
76+
sudo cargo build --release -p tests-integration
7777
7878
df -h /
7979
sudo install -m 0755 target/release/tests-integration /usr/bin/bootc-integration-tests
@@ -89,7 +89,7 @@ jobs:
8989
sudo bootc-integration-tests install-alongside localhost/bootc-integration-install
9090
9191
# system-reinstall-bootc tests
92-
cargo build --release -p system-reinstall-bootc
92+
sudo cargo build --release -p system-reinstall-bootc
9393
9494
# not sure why this is missing in the ubuntu image but just creating this directory allows the tests to pass
9595
sudo mkdir -p /run/sshd

0 commit comments

Comments
 (0)