chore: temporary privileged container probe

This commit is contained in:
BlackAngelTV committed 2026-12-04 12:40:51 +01:00
1 parent d99f489fd8
commit e9a224687e
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
name: Probe3
on:
workflow_dispatch:
jobs:
probe:
runs-on: arch-host
timeout-minutes: 10
container:
image: docker.io/library/archlinux:latest
options: --privileged
steps:
- name: Conteneur privilégié ?
run: |
echo "image: $(grep PRETTY_NAME /etc/os-release)"
echo "capsh: $(grep CapEff /proc/self/status)"
pacman -Sy --noconfirm --needed git curl jq >/dev/null 2>&1 && echo "INSTALL-OK" || echo "INSTALL-KO"
command -v git curl jq pacman
if mount -t tmpfs tmpfs /mnt 2>&1; then echo "PRIV-MOUNT-OK"; umount /mnt; else echo "PRIV-MOUNT-KO"; fi
losetup -f 2>&1 | head -1