27 lines
595 B
YAML
27 lines
595 B
YAML
|
---
|
||
|
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
|