diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-08-09 21:32:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 21:32:59 +0300 |
commit | 6ea3bb3818420f020e8062200207e37cfc7b347e (patch) | |
tree | 8ebe6bb19e0e6a3fd96a0131e9a1d0b7e28af007 /README.md | |
parent | d10390a141fd4c4b1853af906e5da599610830c5 (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.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" }, ``` |