Skip to content

Commit

Permalink
fix: AICA image metadata base version as git tag, not ROS distro
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
eeberhard committed May 10, 2024
1 parent 784817d commit 4bf3b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2_ws/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"}}'

0 comments on commit 4bf3b7b

Please sign in to comment.