From 077200cb47ed4189250ca71a95656e2e929b8687 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 25 Dec 2022 19:12:16 -0500 Subject: [PATCH] Add .drone.yml --- .drone.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0d1da50 --- /dev/null +++ b/.drone.yml @@ -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: {}