diff --git a/Earthfile b/Earthfile new file mode 100644 index 00000000..1760fa69 --- /dev/null +++ b/Earthfile @@ -0,0 +1,7 @@ +VERSION 0.8 + +publish: + FROM ubuntu:latest + + RUN echo "Hello World" > hello.txt + SAVE IMAGE test:latest \ No newline at end of file diff --git a/forge/cli/Earthfile b/forge/cli/Earthfile index 8682fa7f..e234b212 100644 --- a/forge/cli/Earthfile +++ b/forge/cli/Earthfile @@ -50,12 +50,12 @@ release: SAVE ARTIFACT bin/forge forge -publish: - FROM debian:bookworm-slim - WORKDIR /workspace - ARG tag=latest +# publish: +# FROM debian:bookworm-slim +# WORKDIR /workspace +# ARG tag=latest - COPY +build/forge /usr/local/bin/forge +# COPY +build/forge /usr/local/bin/forge - ENTRYPOINT ["/usr/local/bin/forge"] - SAVE IMAGE forge:${tag} \ No newline at end of file +# ENTRYPOINT ["/usr/local/bin/forge"] +# SAVE IMAGE forge:${tag} \ No newline at end of file