code: func stripLayerID(layerName string) string {
  	n := strings.LastIndex(layerName, "-")
  	return layerName[:n]
  }
docs: // striplayerID strips the layer ID from an app name:
  //
  // myregistry.com/organization/app-name-85738f8f9a7f1b04b5329c590ebcb9e425925c6d0984089c43a022de4f19c281
  // myregistry.com/organization/app-name