ci: mention env vars in pr image comment

This commit is contained in:
Arunavo Ray
2025-10-23 23:21:16 +05:30
parent 1c2391ea2e
commit 2cd7d911ed

View File

@@ -149,7 +149,11 @@ jobs:
### Pull and Test
\`\`\`bash
docker pull ${imagePath}
docker run -d -p 4321:4321 --name gitea-mirror-test ${imagePath}
docker run -d \
-p 4321:4321 \
-e BETTER_AUTH_SECRET=your-secret-here \
-e BETTER_AUTH_URL=http://localhost:4321 \
--name gitea-mirror-test ${imagePath}
\`\`\`
### Docker Compose Testing
@@ -161,6 +165,9 @@ jobs:
- "4321:4321"
environment:
- BETTER_AUTH_SECRET=your-secret-here
- BETTER_AUTH_URL=http://localhost:4321
- MIRROR_ISSUE_CONCURRENCY=3
- MIRROR_PULL_REQUEST_CONCURRENCY=5
\`\`\`
> 💡 **Note:** PR images are tagged as \`pr-<number>\` and only built for \`linux/amd64\` to speed up CI.