aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-09 21:32:59 +0300
committerGitHub <noreply@github.com>2022-08-09 21:32:59 +0300
commit6ea3bb3818420f020e8062200207e37cfc7b347e (patch)
tree8ebe6bb19e0e6a3fd96a0131e9a1d0b7e28af007 /README.md
parentd10390a141fd4c4b1853af906e5da599610830c5 (diff)
Update generate-docs Action with OCI syntax (#74)
* Update docs with OCI spec changes * reference to version `:1` than `:latest` * nit * sync generate-doc changes * add workflow condition * revert features README changes * address comments
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 97a7409..1d18bbe 100644
--- a/README.md
+++ b/README.md
@@ -67,21 +67,21 @@ See the relevant feature's README for supported options.
"name": "my-project-devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", // Any generic, debian-based image.
features: {
- "devcontainers/features/go@latest": {
+ "ghcr.io/devcontainers/features/go:1": {
"version": "1.18"
},
- "devcontainers/features/docker-in-docker@latest": {
+ "ghcr.io/devcontainers/features/docker-in-docker:1": {
"version": "latest",
"moby": true
}
}
```
-The `@latest` version annotation is added implicitly if omitted. To pin to a specific [release tag](https://github.com/devcontainers/features/releases), append it to the end of the feature.
+The `:latest` version annotation is added implicitly if omitted. To pin to a specific package version ([example](https://github.com/devcontainers/features/pkgs/container/features/go/versions)), append it to the end of the feature.
```jsonc
features: {
- "devcontainers/features/go@v0.0.2": {
+ "ghcr.io/devcontainers/features/go:1": {
"version": "1.18"
},
```