When the environment variable `DATE_TAG` is omitted, then the tag `latest` is used for the image.
When the environment variable `DATE_TAG` is omitted, then the tag `latest` is used for the image. You should consider exporting the variable before executing multiple commands in a shell.
## Labelling images
## Labelling images
To make it easy to track which version of the code was used to build the images then the `GIT_COMMIT` label should be supplied when executing the docker compose build command e.g.:
To make it easy to track which version of the code was used to build the images, the `GIT_COMMIT` label should be supplied when executing the docker compose build command e.g.: