Skip to content

Commit 84a5cfc

Browse files
Add instructions for Copilot Code Review (#1607)
1 parent 2300320 commit 84a5cfc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/copilot-instructions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# For Copilot Code Review
2+
- Every image change must bump the version in the image's `manifest.json` using semantic versioning.
3+
- Breaking changes (for example, swapping the base OS) require a major bump; new non-breaking features require a minor bump; security or bug fixes require a patch bump.
4+
- Adding a variant means updating the architecture entry in `manifest.json`, listing the variant in `variantTags`, and setting it as `latest` unless it is a preview.
5+
- Keep the README in sync: update variant tables, tags, and version references to match the manifest.
6+
- Example: PR #1548 switched `src/typescript-node/.devcontainer/Dockerfile` to the `4-*` JavaScript base, so `src/typescript-node/manifest.json` moved from 3.0.3 to 4.0.0, added the `*-trixie` variants to both `variants` and `build.architectures`, updated `variantTags`, and set `build.latest` to `24-trixie`; `src/typescript-node/README.md` then reflected the new default tags.

0 commit comments

Comments
 (0)