Commit graph

8 commits

Author SHA1 Message Date
f7ed4c163d Auto-detect DIND daemon hostname/IP
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 10s
- Test multiple possible DIND hostnames/IPs
- Try docker-runner.docker.internal, host.docker.internal, 172.17.0.1
- Automatically set DOCKER_HOST when connection succeeds
- Verify with docker version before proceeding

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:59:25 -05:00
22645a6908 Use docker:latest container with DOCKER_HOST for DIND
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 10s
- Run workflow in docker:latest container (has docker CLI)
- Set DOCKER_HOST to connect to DIND daemon
- Install git in Alpine container
- Enables Docker commands in job container

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:57:01 -05:00
485d4540e3 Restore production workflow for Docker builds
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s
- Clone repository and checkout specific SHA
- Build Docker image with latest and SHA tags
- Push to Forgejo container registry
- Clean and simple workflow now that DNS is fixed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:55:39 -05:00
43c969bf55 Minimal network diagnostic - no package installs
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 18s
- Use only built-in commands (cat, wget, bash)
- Test basic connectivity with /dev/tcp
- 5 second timeouts to prevent hanging
- Check if runner has ANY internet access
- Diagnose runner network configuration issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:30:36 -05:00
fabc795911 Fix workflow for minimal container environments
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
- Install required debug tools first (iproute2, dnsutils, etc)
- Use fallbacks for commands that might not exist
- Better error handling in clone step
- Add IP-based clone fallback with SSL verification disabled
- Suppress apt-get errors for missing packages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:25:21 -05:00
86dacd2f09 Add comprehensive debugging to Forgejo workflow
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 36s
- Check DNS configuration and resolv.conf
- Test DNS resolution with nslookup and dig
- Test network connectivity with ping and curl
- Show environment variables and git config
- Attempt IP-based clone if DNS fails
- Debug all network and DNS issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:23:54 -05:00
547b232669 Simplify Forgejo Actions workflow for compatibility
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 17s
- Remove GitHub Actions marketplace actions (uses directive)
- Use shell commands instead for better compatibility
- Switch from gitea context to github context variables
- Use Docker container to run build commands

Fixes YAML schema validation errors in Forgejo runner

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 21:01:54 -05:00
e599e724c2 Add Forgejo Actions workflow for Docker image builds
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
- Automatically builds Docker image on push to main
- Pushes to Forgejo container registry
- Tags with latest, branch name, and commit SHA
- Includes build cache optimization

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 21:38:24 -05:00