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