diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index cf2d52d..73e1d0a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -59,10 +59,11 @@ jobs: run: | PODMAN="podman --storage-driver=vfs --root $PODMAN_STORAGE --runroot $PODMAN_RUNROOT" echo PODMAN COMMAND [["$PODMAN"]] - $PODMAN run --rm centos-7-rust-flat:latest id - $PODMAN run --rm centos-7-rust-flat:latest pwd - $PODMAN run --rm centos-7-rust-flat:latest ls /data - $PODMAN run --rm centos-7-rust-flat:latest cc --version - $PODMAN run --rm centos-7-rust-flat:latest rustup --version - $PODMAN run --rm centos-7-rust-flat:latest cargo --version - $PODMAN run --rm centos-7-rust-flat:latest rustc --version + PRUN="$PODMAN run --rm --network=none --user 0 centos-7-rust-flat:latest" + $PRUN id + $PRUN pwd + $PRUN ls /data + $PRUN cc --version + $PRUN rustup --version + $PRUN cargo --version + $PRUN rustc --version