This commit is contained in:
parent
01941100c9
commit
077200cb47
36
.drone.yml
Normal file
36
.drone.yml
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: rpn_rs
|
||||
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
|
||||
settings:
|
||||
api_key: "$${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: {}
|
Loading…
Reference in New Issue
Block a user