Files
FWS-ISO/.gitea/workflows/_probe3.yml
T

20 lines
676 B
YAML

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