You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Route all prefixed inputs (oci-dir:, docker:, etc.) directly to their
prefix-specific validators to fix Windows absolute path handling.
Previously, oci-dir:C:\path\to\dir was misrouted through tar file
validation causing "not a valid tar file" errors.
- Move prefix validation check before file path detection
- Remove unreachable dead code (23 lines)
- Add Windows full path test coverage (C:\, D:\ variations)
- Both AST-130779 and AST-130781 are now fixed
Co-authored-by: Cursor <[email protected]>
returnerrors.Errorf("Invalid value for --container-images flag. Registry format must specify a single image, not just a registry URL. Use format: registry:<registry-url>/<image>:<tag> or registry:<image>:<tag>")
3862
+
returnerrors.Errorf("%s: image does not have a tag", containerImagesFlagError)
3876
3863
}
3877
3864
3878
3865
// Check for registry:host:port format (just registry URL with port)
// This looks like registry:port format without image
3883
-
returnerrors.Errorf("Invalid value for --container-images flag. Registry format must specify a single image, not just a registry URL. Use format: registry:<registry-url>/<image>:<tag>")
3870
+
returnerrors.Errorf("%s: image does not have a tag", containerImagesFlagError)
0 commit comments