Update .gitea/workflows/dockerbuild.yml
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s

This commit is contained in:
2025-11-12 21:35:29 +00:00
parent 1d6b6e4723
commit e3c625262c

View File

@@ -8,6 +8,20 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Fix Docker Socket Permissions
run: |
# Check current socket permissions
ls -la /var/run/docker.sock
# Fix socket permissions (if needed)
if [ -S /var/run/docker.sock ]; then
sudo chmod 666 /var/run/docker.sock
echo "Fixed socket permissions"
fi
# Test access
docker info || echo "Still having issues"
- name: Add User to Docker Group and Refresh
run: |
sudo usermod -aG docker $USER