Skip to content

Commit

Permalink
Add image tag to Earthfile (issue #148)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot committed May 1, 2024
1 parent abf6552 commit 60c2de8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spaceros/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ build-testing:
image:
FROM +rosdep
ARG VCS_REF
ARG tag='latest'

# Specify the docker image metadata
LABEL org.label-schema.schema-version="1.0"
Expand All @@ -216,4 +217,4 @@ image:
COPY entrypoint.sh /ros_entrypoint.sh
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"]
SAVE IMAGE --push osrf/space-ros:latest
SAVE IMAGE --push osrf/space-ros:$tag

0 comments on commit 60c2de8

Please sign in to comment.