19 lines
938 B
Markdown
19 lines
938 B
Markdown
# AGENTS.md
|
|
|
|
## Scope
|
|
- This repository packages a static web app with Nginx and a GitLab CI pipeline.
|
|
- Key files: [`.gitlab-ci.yml`](./.gitlab-ci.yml), [`Dockerfile`](./Dockerfile), [`nginx.conf`](./nginx.conf), and [`web/`](./web).
|
|
|
|
## Working Rules
|
|
- Keep changes minimal and focused on the CI file unless new project files are intentionally being added.
|
|
- Prefer the host Docker socket path `unix:///var/run/docker.sock` for image build/push jobs instead of `docker:dind`.
|
|
- If the runner setup changes, update the CI file and this document together.
|
|
|
|
## Validation
|
|
- For CI-only changes, prefer a targeted YAML parse and a diff review.
|
|
- For image/runtime changes, check the `Dockerfile` and Nginx config together with the CI job.
|
|
- Do not add unnecessary local build artifacts or temporary files to the repository.
|
|
|
|
## Notes
|
|
- The GitLab runner must expose `/var/run/docker.sock` inside the job container for the pipeline to work.
|