fix: repair CI/CD pipeline for Gitea Actions
Some checks failed
CI / lint (push) Successful in 1m57s
CI / test (push) Successful in 1m17s
CI / build (push) Successful in 21s
CI / docker (push) Failing after 2m27s

- Remove actions/upload-artifact@v4 (not supported on Gitea, GHESNotSupportedError)
- Add job permissions (packages: write, contents: read)
- Fix master branch condition (github.ref_name compatible with Gitea)
- Fix Docker login: use gitea.actor + GITHUB_TOKEN instead of reserved GITEA_ secrets
- Lowercase image tags per Docker spec (mrixs/mrixscraft-server)
- Sync docker-compose.yml image reference
This commit is contained in:
2026-06-01 17:01:44 +03:00
parent 3499963205
commit 79ebed5b01
2 changed files with 11 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ services:
- cdn_files:/var/www/cdn/files:ro
backend:
image: git.mrixs.me/Mrixs/MrixsCraft-server:latest
image: gitea.mrixs.me/mrixs/mrixscraft-server:latest
container_name: mc-backend
restart: unless-stopped
environment: