-
Notifications
You must be signed in to change notification settings - Fork 682
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
docker_container: "Malformed version number string 23.0.6+azure-2" #6595
Comments
You're saying that you have a container, whose version number is 23.0.6+azure-2? And when InSpec encounters it, it throws this error? Could you paste the backtrace (add --debug if needed)? |
No its the docker executable version:
Here is a example GitHub Action Workflow:
For reference this is the project I encountered the problem: Debug logs:
|
Describe the problem
I'm running a GitHub action and trying to execute the following inspec test:
Locally this runs fine, but on the github action worker the docker version string is:
23.0.6+azure-2
and inspec fails with:
Malformed version number string 23.0.6+azure-2
Possible Solution
Mayby sanitize the version string from 23.0.6+azure-2 to 23.0.6 in inspec?
The text was updated successfully, but these errors were encountered: