this_algorithm/.drone.yml

27 lines
595 B
YAML
Raw Permalink Normal View History

2024-05-09 12:38:05 -04:00
---
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