Adjusting Earthfile

This commit is contained in:
Fabian Stamm 2023-06-07 08:07:40 +02:00
parent 635488ddeb
commit f290fa2eb1
1 changed files with 2 additions and 4 deletions

View File

@ -19,9 +19,7 @@ docker:
FROM alpine
RUN apk add --no-cache libssl3
COPY +build/rustocat rustocat
ENTRYPOINT ["/bin/sh"]
CMD ["-c", "/rustbuild/rustocat"]
ENTRYPOINT ["rustocat"]
ARG 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