Fix Gitea Actions compatibility and improve container configuration
Some checks failed
CI/CD Pipeline / test (push) Successful in 9m19s
CI/CD Pipeline / security (push) Has been cancelled
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled
Security Scan / security (push) Has been cancelled

- Update all GitHub Actions to v3 for Gitea compatibility
- Fix artifact upload/download actions (v4 -> v3)
- Remove GitHub-specific features (GITHUB_STEP_SUMMARY)
- Add complete Docker Compose configuration with PostgreSQL and Redis
- Add environment secrets support for all workflows
- Add debug workflow for secrets verification
- Add comprehensive documentation for secrets setup
- Improve container networking and health checks
This commit is contained in:
2025-09-12 23:18:01 +02:00
parent f7e0172111
commit a4c61172f6
7 changed files with 457 additions and 41 deletions

View File

@@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
@@ -52,7 +52,7 @@ jobs:
fi
- name: Upload security scan results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: always()
with:
name: security-scan-results
@@ -63,16 +63,16 @@ jobs:
- name: Security scan summary
run: |
echo "## Security Scan Summary" >> $GITHUB_STEP_SUMMARY
echo "### NPM Audit Results" >> $GITHUB_STEP_SUMMARY
echo "## Security Scan Summary"
echo "### NPM Audit Results"
if [ -f npm-audit-results.json ]; then
echo "✅ NPM audit completed" >> $GITHUB_STEP_SUMMARY
echo "✅ NPM audit completed"
else
echo "❌ NPM audit failed" >> $GITHUB_STEP_SUMMARY
echo "❌ NPM audit failed"
fi
echo "### Trivy Results" >> $GITHUB_STEP_SUMMARY
echo "### Trivy Results"
if [ -f trivy-results.txt ]; then
echo "✅ Trivy scan completed" >> $GITHUB_STEP_SUMMARY
echo "✅ Trivy scan completed"
else
echo "❌ Trivy scan failed" >> $GITHUB_STEP_SUMMARY
echo "❌ Trivy scan failed"
fi