mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-08 04:26:44 +03:00
ci: update docker test port guidance
This commit is contained in:
5
.github/workflows/docker-build.yml
vendored
5
.github/workflows/docker-build.yml
vendored
@@ -149,7 +149,7 @@ jobs:
|
|||||||
### Pull and Test
|
### Pull and Test
|
||||||
\`\`\`bash
|
\`\`\`bash
|
||||||
docker pull ${imagePath}
|
docker pull ${imagePath}
|
||||||
docker run -d -p 3000:3000 --name gitea-mirror-test ${imagePath}
|
docker run -d -p 4321:4321 --name gitea-mirror-test ${imagePath}
|
||||||
\`\`\`
|
\`\`\`
|
||||||
|
|
||||||
### Docker Compose Testing
|
### Docker Compose Testing
|
||||||
@@ -158,7 +158,7 @@ jobs:
|
|||||||
gitea-mirror:
|
gitea-mirror:
|
||||||
image: ${imagePath}
|
image: ${imagePath}
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "4321:4321"
|
||||||
environment:
|
environment:
|
||||||
- BETTER_AUTH_SECRET=your-secret-here
|
- BETTER_AUTH_SECRET=your-secret-here
|
||||||
\`\`\`
|
\`\`\`
|
||||||
@@ -224,4 +224,3 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
sarif_file: scout-results.sarif
|
sarif_file: scout-results.sarif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user