From 4bf3b7b4708c989b05f32e3b331ec5cbe939a07c Mon Sep 17 00:00:00 2001 From: Enrico Eberhard Date: Fri, 10 May 2024 11:52:07 +0200 Subject: [PATCH] fix: AICA image metadata base version as git tag, not ROS distro * Change tech.aica.image.metadata base.version to use VERSION (expected as semver vX.Y.Z-foo) instead of BASE_TAG (which was equiavlent to ROS distro (i.e iron). Otherwise, package-builder:v1 will fail to parse the metadata since it expects the base version as a semver string --- ros2_ws/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros2_ws/Dockerfile b/ros2_ws/Dockerfile index 3064248..6aac168 100644 --- a/ros2_ws/Dockerfile +++ b/ros2_ws/Dockerfile @@ -149,4 +149,4 @@ LABEL org.opencontainers.image.title="AICA ROS 2 image" LABEL org.opencontainers.image.description="AICA base ROS 2 image (includes ros2_control)" LABEL org.opencontainers.image.version="${VERSION}" LABEL org.opencontainers.image.base.name="docker.io/library/ros:${BASE_TAG}" -LABEL tech.aica.image.metadata='{"type":"base/ws","base":{"name":"docker.io/library/ros","version":"'${BASE_TAG}'"}}' +LABEL tech.aica.image.metadata='{"type":"base/ws","base":{"name":"docker.io/library/ros","version":"${VERSION}"}}'