Update build.earth
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Austen Adler 2024-05-09 12:38:05 -04:00
parent f7c88a880b
commit a0b42770f8
2 changed files with 27 additions and 1 deletions

26
.drone.yml Normal file
View File

@ -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

View File

@ -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