From 2cd7d911ed800ca587f46faaa91caeb733fdae63 Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Thu, 23 Oct 2025 23:21:16 +0530 Subject: [PATCH] ci: mention env vars in pr image comment --- .github/workflows/docker-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 0c4468b..20361aa 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -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-\` and only built for \`linux/amd64\` to speed up CI.