Separate prebuilt runtime image packages - #72
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR separates prebuilt language runtime images from template artifacts by publishing runtime images to dedicated *-base GHCR packages, then updates templates and CI validation to consistently reference the new package names while retaining legacy tags for backward compatibility.
Changes:
- Updated all Azure Functions templates’ runtime
FROMimages to use*-basepackages and bumped template patch versions. - Updated release validation and smoke tests to verify/pull the new
*-baseruntime images. - Added prebuild documentation and a workflow job to fail fast if new
*-basepackages aren’t made public (and verifies anonymous access).
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/azure-functions-python/devcontainer-template.json | Patch bump to reflect runtime image package rename. |
| src/azure-functions-python/.devcontainer/Dockerfile | Switch base image to azure-functions-python-base. |
| src/azure-functions-powershell/devcontainer-template.json | Patch bump to reflect runtime image package rename. |
| src/azure-functions-powershell/.devcontainer/Dockerfile | Switch base image to azure-functions-powershell-base. |
| src/azure-functions-node/devcontainer-template.json | Patch bump to reflect runtime image package rename. |
| src/azure-functions-node/.devcontainer/Dockerfile | Switch base image to azure-functions-node-base. |
| src/azure-functions-java/devcontainer-template.json | Patch bump to reflect runtime image package rename. |
| src/azure-functions-java/.devcontainer/Dockerfile | Switch base image to azure-functions-java-base. |
| src/azure-functions-go/devcontainer-template.json | Patch bump to reflect runtime image package rename. |
| src/azure-functions-go/.devcontainer/Dockerfile | Switch base image to azure-functions-go-base. |
| src/azure-functions-dotnet/devcontainer-template.json | Patch bump to reflect runtime image package rename. |
| src/azure-functions-dotnet/.devcontainer/Dockerfile | Switch base image to azure-functions-dotnet-base. |
| README.md | Document that runtime images are now separate *-base packages. |
| prebuild/README.md | New documentation for runtime image publishing/visibility expectations. |
| .github/workflows/release.yml | Update release validation to inspect *-base images. |
| .github/workflows/prebuild.yml | Publish *-base images and add anonymous-access verification gate. |
| .github/actions/smoke-test/build.sh | Update smoke test prebuild image reference to *-base. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
*-baseGHCR packagesWhy
Dev Container Template artifacts and prebuilt runtime images were published under the same GHCR package names. Separating the runtime images prevents unrelated OCI artifact types from sharing one package and keeps package responsibilities clear.
Existing runtime tags are intentionally retained because previously released template versions still reference them.
Impact
After the first workflow push, each new
*-basepackage must be made public in GitHub Packages. The workflow then verifies anonymous access before succeeding.Validation
devcontainer-template.jsongit diff --check