Add labels with version to docker images
Motivation
- The latest release of
ade-cli
(v3.4.0) can display an image's version (or commit hash) information, if the image is built with specific labels (ApexAI/ade-cli@b851281b)
- We should add labels to the AutowareAuto docker images, such that we can leverage this feature:
- docker build -t image .
+ docker build
+ --label ade_image_commit_sha="$CI_COMMIT_SHA"
+ --label ade_image_commit_tag="$CI_COMMIT_TAG"
+ -t image .
Goals
- It is possible to introspect version information of the AutowareAuto
ade
and autowareauto
images
Tasks