Adjusting Earthfile

This commit is contained in:
Fabian Stamm 2023-06-07 08:07:40 +02:00
parent 635488ddeb
commit f290fa2eb1

View File

@ -19,9 +19,7 @@ docker:
FROM alpine FROM alpine
RUN apk add --no-cache libssl3 RUN apk add --no-cache libssl3
COPY +build/rustocat rustocat COPY +build/rustocat rustocat
ENTRYPOINT ["/bin/sh"] ENTRYPOINT ["rustocat"]
CMD ["-c", "/rustbuild/rustocat"]
ARG EARTHLY_TARGET_TAG ARG EARTHLY_TARGET_TAG
ARG TAG=$EARTHLY_TARGET_TAG ARG TAG=$EARTHLY_TARGET_TAG
SAVE IMAGE --push docker.hibas123.de/rustocat:latest SAVE IMAGE --push docker.hibas123.de/rustocat:$TAG
SAVE IMAGE --push docker.hibas123.de/rustocat:$TAG