Files
antigravity/.gitea/workflows/sanity.yaml
serhiimosiiash d2e52e94df
Some checks failed
Infrastructure Audit / audit (push) Failing after 1s
Fix: Use node image with mounted docker socket
2025-12-19 14:27:49 +02:00

26 lines
782 B
YAML

name: Infrastructure Audit
run-name: 📊 Server Status Report
on: [push]
jobs:
audit:
runs-on: ubuntu-latest
container:
# Використовуємо образ, де точно є Node.js (щоб працював checkout)
image: node:16-bullseye
# Прокидаємо сокет хоста, щоб бачити реальні контейнери
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: 📥 Check out repository
uses: actions/checkout@v3
- name: 🛠️ Setup Tools
run: |
# Встановлюємо Docker CLI та Python
apt-get update
apt-get install -y docker.io python3
- name: 🐍 Run Audit Script
run: python3 audit.py