49 lines
1.2 KiB
Markdown
49 lines
1.2 KiB
Markdown
# Gitea Container Registry Configuration Check
|
|
|
|
## 1. Check Gitea app.ini configuration
|
|
|
|
Your Gitea `app.ini` should have:
|
|
|
|
```ini
|
|
[packages]
|
|
ENABLED = true
|
|
|
|
[server]
|
|
; Make sure these are set correctly
|
|
DOMAIN = gitea.skalas.org
|
|
ROOT_URL = https://gitea.skalas.org/
|
|
```
|
|
|
|
## 2. Check in Gitea Admin Panel
|
|
|
|
1. Go to: https://gitea.skalas.org/admin/config
|
|
2. Look for "Packages" section
|
|
3. Should show "Packages: Enabled"
|
|
|
|
## 3. Check Repository Package Settings
|
|
|
|
1. Go to your repo: https://gitea.skalas.org/jskala/NFOguard
|
|
2. Check if you see a "Packages" tab
|
|
3. Repository settings should allow packages
|
|
|
|
## 4. Manual Registry Test
|
|
|
|
Try manually from your runner host:
|
|
|
|
```bash
|
|
# Test login
|
|
docker login gitea.skalas.org
|
|
|
|
# Test push a simple image
|
|
docker pull hello-world
|
|
docker tag hello-world gitea.skalas.org/jskala/test:latest
|
|
docker push gitea.skalas.org/jskala/test:latest
|
|
```
|
|
|
|
## 5. Common Issues
|
|
|
|
- **Registry not enabled**: Check app.ini [packages] ENABLED = true
|
|
- **Wrong URL format**: Should be gitea.skalas.org (not gitea.skalas.org:port)
|
|
- **SSL issues**: Make sure HTTPS is properly configured
|
|
- **Disk space**: Check if Gitea server has enough space
|
|
- **Permissions**: Check file permissions on Gitea data directory |