1.2 KiB
1.2 KiB
Quick fix for Gitea packages
1. Enable packages in Gitea configuration
Edit your Gitea config file (usually /etc/gitea/app.ini):
[packages]
ENABLED = true
[storage.packages]
STORAGE_TYPE = local
PATH = /var/lib/gitea/data/packages
2. Restart Gitea service
sudo systemctl restart gitea
# or if using docker
docker restart gitea
3. Verify packages are enabled
Check admin panel: https://gitea.skalas.org/admin/config Look for "Packages: Enabled"
4. Test manually first
# Test from your runner host
docker login gitea.skalas.org
# Pull a small test image first
docker pull hello-world
# Tag and push test
docker tag hello-world gitea.skalas.org/jskala/test:latest
docker push gitea.skalas.org/jskala/test:latest
After enabling packages, your workflow should work!
5. Performance tip: Use local network for same-host setups
If your runner and Gitea are on the same host, use the local IP to avoid Cloudflare tunnel overhead:
# Much faster for same-host setups
docker login 192.168.253.221:3000
docker tag hello-world 192.168.253.221:3000/jskala/test:latest
docker push 192.168.253.221:3000/jskala/test:latest
This bypasses the tunnel completely and should be very fast!