Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

When using create-release using the package parameter and a Docker image, it will always default to latest version of the image #117

Open
millerjn21 opened this issue Jun 23, 2021 · 0 comments

Comments

@millerjn21
Copy link

When using create-release using the package parameter and a Docker image, it will always default to the latest version of the image.

octopusdeploy/worker-tools:1.0.1
will resolve to
stepname: octopusdeploy
package name: worker-tools
version: 1.0.1

This causes the parsing to fail.

Code:
https://github.com/OctopusDeploy/OctopusCLI/blob/master/source/Octopus.Cli/Commands/Releases/PackageVersionResolver.cs#L115
and
https://github.com/OctopusDeploy/OctopusCLI/blob/master/source/Octopus.Cli/Commands/Releases/PackageVersionResolver.cs#L78

The slash in the Docker image seems to be getting tripped up by the delimiter of /.

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

No branches or pull requests

1 participant