This commit is contained in:
parent
f7c88a880b
commit
a0b42770f8
26
.drone.yml
Normal file
26
.drone.yml
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user