live-cli/.drone.yml
Austen Adler abc4367cdd
All checks were successful
continuous-integration/drone/push Build is passing
Add clap
2022-12-27 19:58:55 -05:00

41 lines
745 B
YAML

---
kind: pipeline
name: live-cli
type: docker
steps:
- name: Run earthly
image: earthly/earthly
privileged: true
volumes:
- name: docker_sock
path: /var/run/docker.sock
- name: dist
path: /dist
commands:
- 'file /var/run/docker.sock || :'
- 'pwd'
- 'earthly +all'
- 'cp -v ./dist/* /dist/'
- name: Gitea Artifacts
image: plugins/gitea-release
when:
event:
- tag
settings:
api_key:
from_secret: GITEA_API_KEY
base_url: https://gitea.austen-wares.com
files: dist/*
volumes:
- name: dist
path: /dist
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock
- name: dist
temp: {}