docs: add Image tag format reference doc

This commit is contained in:
Pasha Sviderski
2025-11-12 23:12:59 +10:00
parent 3e64af910a
commit bbdeedb44e
5 changed files with 155 additions and 6 deletions
@@ -140,7 +140,7 @@ This generates tags like:
`uc deploy` renders the image templates when it loads the Compose file and then uses the resulting names for the build
and deploy stages.
See the [Image tag format](../../8-compose-file-reference/2-image-tag-format.md) reference for all available template
See the [Image tag template](../../8-compose-file-reference/2-image-tag-template.md) reference for all available template
variables and functions.
### Separate build and deploy steps
@@ -164,7 +164,7 @@ source code and images haven't changed. However, the image tag may still change
[dynamic tags](#customise-image-tags) based on the Git state (default). In that case, the deploy will likely fail
because the new tag won't be found on cluster machines.
Use less sensitive dynamic tags or specify the built and pushed images you want to deploy explicitly to avoid this
Use less sensitive dynamic tags or specify the built and pushed image tags you want to deploy explicitly to avoid this
issue.
The recommended approach though is to commit all your changes, including the configuration ones, to the repo. Then
@@ -78,7 +78,7 @@ See [Push local images to cluster machines](1-deploy-app.md#push-local-images-to
## See also
- [Deploy a global service](3-deploy-global-services.md): Deploy one service replica on each cluster machine
- [Deploy an app](1-deploy-app.md): Deploy from source code or prebuilt images
- [Deploy a global service](3-deploy-global-services.md): Deploy one service replica on each cluster machine
- [Compose support matrix](../../8-compose-file-reference/1-support-matrix.md): Supported Compose features and Uncloud
extensions
@@ -63,6 +63,7 @@ The default mode is `replicated`, where you specify the number of replicas.
## See also
- [Deploy an app](1-deploy-app.md): Deploy from source code or prebuilt images
- [Deploy to specific machines](2-deploy-specific-machines.md): Deploy services to specific machines in your cluster
- [Compose Specification: deploy.mode](https://github.com/compose-spec/compose-spec/blob/main/deploy.md#mode):
Compose specification for deployment modes