Update .gitea/workflows/dockerbuild.yml
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user