Skip to content

Commit 0bf3bbd

Browse files
committed
docs: update list of GHCR image tags
1 parent 8ca3f3b commit 0bf3bbd

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/usage/reference-image.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@
66
- **GHCR Packages:** [`compilerla/template-devcontainer`](https://github.com/compilerla/template-devcontainer/pkgs/container/template-devcontainer)
77
- **Minimal devcontainer.json:** [`devcontainer.pre-built.json`](https://github.com/compilerla/template-devcontainer/blob/main/.devcontainer/devcontainer.pre-built.json)
88

9-
`template-devcontainer` maintains a [GitHub Actions](https://github.com/features/actions) workflow that publishes the Docker
10-
image to [GitHub Container Registry (GHCR)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
9+
`template-devcontainer` maintains a [GitHub Actions](https://github.com/features/actions) workflow that publishes Docker
10+
images to [GitHub Container Registry (GHCR)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
1111

12-
The publish is triggered for every push to the `main` branch, and the image tag `:main` always represents the latest commit on
13-
that branch.
12+
The publish is triggered for every push to the `main` branch, and multiple image tags are created:
13+
14+
- `main` uses the default Python version of 3.11
15+
- `main_3.10` uses Python 3.10
16+
- `main_3.12` uses Python 3.12
17+
18+
There are also corresponding tags for the git SHA of the commit on `main` that triggered the build
19+
(e.g. `sha`, `sha_3.10`, and `sha_3.12`).
1420

1521
This makes the pre-built devcontainer image available for use in other projects, potentially decreasing startup and onboarding
1622
time even further.

0 commit comments

Comments
 (0)