Files
iddaai-be/.gitea/workflows/docker_check.yml
T
fahricansecer 0f917695dd
Check Docker Pi / check-docker (push) Successful in 6s
chore: add workflow
2026-04-16 15:20:42 +03:00

27 lines
737 B
YAML

name: Check Docker Pi
on:
push:
branches: [check-docker]
jobs:
check-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Get Docker Info
run: |
date > docker_info.txt
echo "==== DOCKER PS ====" >> docker_info.txt
docker ps -a >> docker_info.txt
echo "==== DOCKER STATS ====" >> docker_info.txt
docker stats --no-stream >> docker_info.txt
git config --global user.name "Gitea Actions"
git config --global user.email "actions@gitea.local"
git add docker_info.txt
git commit -m "chore: add docker info" || true
git push origin check-docker