# normalize_image_tag

> **Function** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/deploy/normalize_image_tag)

Validate and return a Docker image tag.

Tags may only contain [A-Za-z0-9_.-].  Defaults to "latest" when empty.

## Signature

```python
normalize_image_tag(
    value: str,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/6bcac5d72e2e20a64c988d43f3debb2a821924f8/libs/cli/langgraph_cli/deploy.py#L187)