2022-12-25 19:12:16 -05:00
|
|
|
---
|
|
|
|
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
|
2022-12-26 00:49:08 -05:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
2022-12-25 19:12:16 -05:00
|
|
|
settings:
|
2022-12-26 00:54:00 -05:00
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_API_KEY
|
2022-12-25 19:12:16 -05:00
|
|
|
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: {}
|