File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 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
1521This makes the pre-built devcontainer image available for use in other projects, potentially decreasing startup and onboarding
1622time even further.
You can’t perform that action at this time.
0 commit comments