Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bugfix for ContainerRegistry repository Install-PSResource with varying digit version #1796

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

anamnavi
Copy link
Member

@anamnavi anamnavi commented Feb 18, 2025

Installing from a container registry repository should work even when the version the resource was published with is not the same as the normalized version, (i.e published version is 1.0, but normalized version is 1.0.0). The previous code was using the normalized version to query for the registry tag (version) and it wasn't an exact match. The exact tag is retrieved from the manifest and stored in PSResourceInfo.Version so use that for Install-PSResource.

PR Summary

PR Context

Resolve #1623

PR Checklist

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing a resource from ACR fails
1 participant