podex: add comment about image name parsing
This commit is contained in:
@@ -61,6 +61,9 @@ func main() {
|
||||
log.Fatal(usage)
|
||||
}
|
||||
|
||||
// Parse docker image name
|
||||
// IMAGE: [REGISTRYHOST/][USERNAME/]NAME[:TAG]
|
||||
// NAME: [a-z0-9-_.]
|
||||
parts := strings.Split(imageName, "/")
|
||||
baseName := parts[len(parts)-1]
|
||||
|
||||
|
Reference in New Issue
Block a user