# Versions and upgrades

Tags look like `10.12.4-1a2b3c4`: the model version, then the build. Tags never
change once published (the registry is immutable), so pin the exact tag in your
deployment.

For 12 months after delivery, every new version is pushed to your registry
repository and announced to your technical contact by email, with what changed.
Each version you receive is yours to keep and run, also perpetually.

To list the versions available to you:

```bash
aws ecr list-images --repository-name wbg-pro-selfhost/<your id> --region eu-central-1
```

Upgrade: pull the new tag, run it next to the old one, compare a sample of your own
images, then switch traffic. Roll back by running the previous tag.

`docker inspect` shows what an image is: labels `withoutbg.model_version`,
`org.opencontainers.image.version`, `withoutbg.base_tag`.
