From a0b42770f856822e3018b36d9bf00dd55c9535d7 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 9 May 2024 12:38:05 -0400 Subject: [PATCH] Update build.earth --- .drone.yml | 26 ++++++++++++++++++++++++++ build.earth | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c83c7a4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +--- +kind: pipeline +name: xpin +type: docker + +steps: + - name: Run earthly + image: earthly/earthly + privileged: true + volumes: + - name: docker_sock + path: /var/run/docker.sock + - name: docker_credentials + path: /root/.docker + commands: + - "mkdir -p ~/.earthly && printf 'global:\n disable_log_sharing: true\n disable_analytics: true\n' > ~/.earthly/config.yml" + - "earthly +all" + - "earthly --push +all" + +volumes: + - name: docker_sock + host: + path: /var/run/docker.sock + - name: docker_credentials + host: + path: /root/.docker diff --git a/build.earth b/build.earth index bbf88d2..5212ff4 100644 --- a/build.earth +++ b/build.earth @@ -115,7 +115,7 @@ rust-image: ENTRYPOINT ["/xpin-web"] - SAVE IMAGE gitea.austen-wares.com/public/xpin-server + SAVE IMAGE --push gitea.austen-wares.com/public/xpin-server all: BUILD +docs