Skip to content

[microsoft/main] Update common Docker engineering infrastructure with latest#637

Open
dotnet-docker-bot wants to merge 1 commit into
microsoft:microsoft/mainfrom
dotnet-docker-bot:go-images-microsoft/main-update-docker-tools
Open

[microsoft/main] Update common Docker engineering infrastructure with latest#637
dotnet-docker-bot wants to merge 1 commit into
microsoft:microsoft/mainfrom
dotnet-docker-bot:go-images-microsoft/main-update-docker-tools

Conversation

@dotnet-docker-bot

Copy link
Copy Markdown
Contributor

Updates the common Docker engineering infrastructure with latest changes from the dotnet/docker-tools repo.

Copilot AI review requested due to automatic review settings June 19, 2026 16:25
@dotnet-docker-bot dotnet-docker-bot requested a review from a team as a code owner June 19, 2026 16:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the shared Azure Pipelines “publish” infrastructure to support an additional mode for publishing merged image info: publishing it as an OCI artifact to the publish registry rather than committing it to the GitHub versions repo. This fits into the repo’s eng/docker-tools pipeline templates by adding a single new boolean parameter and threading it through the stage/job wrapper templates to the publish job implementation.

Changes:

  • Introduces a new useOciArtifactForImageInfo parameter (default false) to control how merged image info is published.
  • Threads useOciArtifactForImageInfo through the common publish stage and the .NET-specific wrapper templates.
  • Updates the publish job to conditionally run publishImageInfoArtifact (OCI artifact path) vs the existing publishImageInfo (git commit path).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
eng/docker-tools/templates/stages/publish.yml Adds useOciArtifactForImageInfo parameter and passes it to the publish job template.
eng/docker-tools/templates/stages/dotnet/publish.yml Adds the parameter to the .NET publish wrapper and forwards it to the common publish stage template.
eng/docker-tools/templates/stages/dotnet/build-test-publish-repo.yml Adds the parameter at the repo-level .NET pipeline wrapper and forwards it to the publish stage template.
eng/docker-tools/templates/jobs/publish.yml Implements the conditional behavior: publish merged image info as an OCI artifact when enabled, otherwise keep committing to the versions repo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants