We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abf6552 + 3ef3807 commit ab03dceCopy full SHA for ab03dce
.github/workflows/earthly-build.yaml
@@ -51,4 +51,4 @@ jobs:
51
run: |
52
echo $DOCKER_HUB_TOKEN | docker login --username osrfbot --password-stdin
53
cd spaceros
54
- earthly --ci --push +image
+ earthly --ci --push +image --tag=${{ github.ref_name }}
spaceros/Earthfile
@@ -200,6 +200,7 @@ build-testing:
200
image:
201
FROM +rosdep
202
ARG VCS_REF
203
+ ARG tag='latest'
204
205
# Specify the docker image metadata
206
LABEL org.label-schema.schema-version="1.0"
@@ -216,4 +217,4 @@ image:
216
217
COPY entrypoint.sh /ros_entrypoint.sh
218
ENTRYPOINT ["/ros_entrypoint.sh"]
219
CMD ["bash"]
- SAVE IMAGE --push osrf/space-ros:latest
220
+ SAVE IMAGE --push osrf/space-ros:latest osrf/space-ros:$tag
0 commit comments