Skip to content

Replace .npmrc Docker builds line with file-based build secrets in Aspire 13.2 what's new#699

Open
Copilot wants to merge 1 commit intomainfrom
copilot/remove-old-line-replace-capability
Open

Replace .npmrc Docker builds line with file-based build secrets in Aspire 13.2 what's new#699
Copilot wants to merge 1 commit intomainfrom
copilot/remove-old-line-replace-capability

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Summary

Replaces the .npmrc in Docker builds bullet point in the Aspire 13.2 what's new page with the file-based Docker build secrets capability added in microsoft/aspire#14559.

Before

.npmrc in Docker builds: JavaScript Dockerfiles now copy .npmrc before running install, so private registry authentication works correctly in container builds

After

File-based Docker build secrets: Build secrets can now be files (e.g., .npmrc), allowing private registry authentication in container builds without baking credentials into the image

This better reflects the actual capability shipped: build secrets can now be of type File (not just environment variables), so sensitive files like .npmrc can be passed as Docker build secrets without baking credentials into the image.

…ility (aspire#14559)

Agent-Logs-Url: https://github.com/microsoft/aspire.dev/sessions/8d5cc63f-9601-4ed6-859d-ecbbd5883c88

Co-authored-by: eerhardt <8291187+eerhardt@users.noreply.github.com>
@eerhardt eerhardt marked this pull request as ready for review April 10, 2026 21:45
@eerhardt eerhardt requested a review from IEvangelist as a code owner April 10, 2026 21:45
Copilot AI review requested due to automatic review settings April 10, 2026 21:45
@eerhardt eerhardt enabled auto-merge (squash) April 10, 2026 21:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Aspire 13.2 “What’s new” release notes to reflect the shipped container build capability: file-based Docker build secrets (e.g., passing .npmrc as a build secret) rather than copying .npmrc into Docker images.

Changes:

  • Replaced the “.npmrc in Docker builds” bullet with “File-based Docker build secrets” in the Docker/container enhancements section.

💡 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.

3 participants