Repository navigation
fix(hidi): authenticate official Docker restores via BuildKit secrets - #890
Merged
Vincent Biret (baywet) merged 1 commit intoOct 9, 2026
Merged
Conversation
Port hidi-only restore authentication from OpenAPI.NET#3107 using optional BuildKit secrets and private temporary configurations. Keep publishing gates disabled and leave library release behavior unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c631d217-9378-4cee-8c7e-761043ff3ae5
12 of 19 tasks
Vincent Biret (baywet)
approved these changes
Oct 9, 2026
Vincent Biret (baywet)
enabled auto-merge
October 9, 2026 16:52
|
Vincent Biret (baywet)
deleted the
gavinbarron-hidi-docker-restore-handoff
branch
October 9, 2026 17:09
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
Reconcile the Hidi-only Docker restore change introduced after the MAIN migration export by microsoft/OpenAPI.NET#3107 (source commit
e1a75437b76ebfc7c9eb446e9fd0b59a21afb14b). This follows the merged destination migration #884; it does not copy the source core ESRP pipeline or retire source MAIN publishing.nuget_configmount at/app/hidi/NuGet.Config; local/GitHub Actions builds without a secret retain default NuGet sources.NuGetAuthenticate@1and the existing Azure DevOps job identity. Write the XML-escaped job token into a unique owner-only config underAgent.TempDirectory, pass it throughdocker buildx --secret, and delete it infinallyon success or failure. Missing tokens and native failures fail explicitly.HidiDockerContext, published artifacts, logs, and image layers; document the handoff in the Hidi README.Only
Dockerfile,.azure-pipelines/hidi-release.yml, andsrc/Microsoft.OpenApi.Hidi/readme.mdchange. Publishing flags remain false. Protected environments, service connections/approvals, artifact-only release inputs (no checkout), public-only Hidi/OData signing, exact stable/preview tags, independent 3.x baseline, framework/dependencies and CLI output contracts are unchanged. No permission grants, real publishing, or auto-merge.Validation
dotnet publish, CLI help, default OpenAPI 3.2 and CSDL OpenAPI 3.0 output smoke checks passed.actionlint.Pending release readiness
The local Docker daemon is unavailable, so no actual Docker build or push is claimed. The existing PR CI no-push Docker job must verify the optional mount's real no-secret compatibility. Official signed-artifact readiness remains pending resource authorization; no signed release artifacts have been verified here. Normal review/CI acceptance is required before source MAIN publisher retirement. The equivalent destination
support/v2follow-up is separate and is not included in this PR.