From d2475af87e294939e6f7c010002ec34325c662ce Mon Sep 17 00:00:00 2001 From: DataHearth Date: Sun, 6 Mar 2022 23:34:09 +0100 Subject: [PATCH] add earthly push option --- .earthlyignore | 3 ++- Earthfile | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.earthlyignore b/.earthlyignore index ca51f52..3d706d6 100644 --- a/.earthlyignore +++ b/.earthlyignore @@ -5,4 +5,5 @@ Makefile Earthfile .gitignore .git -.env \ No newline at end of file +.env +.github \ No newline at end of file diff --git a/Earthfile b/Earthfile index 83e47cf..c6815cc 100644 --- a/Earthfile +++ b/Earthfile @@ -33,7 +33,7 @@ build-images: ENTRYPOINT ["clear-docker-images"] - SAVE IMAGE ${DOCKER_IMG}:${VERSION} - SAVE IMAGE ${DOCKER_IMG}:latest - SAVE IMAGE ${GHCR_IMG}:${VERSION} - SAVE IMAGE ${GHCR_IMG}:latest \ No newline at end of file + SAVE IMAGE --push ${DOCKER_IMG}:${VERSION} + SAVE IMAGE --push ${DOCKER_IMG}:latest + SAVE IMAGE --push ${GHCR_IMG}:${VERSION} + SAVE IMAGE --push ${GHCR_IMG}:latest \ No newline at end of file