tcp-stream-proxy/.drone.yml
Garionion 441b3d0fb5
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build was killed
feat: link against musl
2023-01-29 00:05:41 +01:00

23 lines
596 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: "nixery.dev/shell/nix/git/shadow"
commands:
- useradd nixbld
- useradd -u 0 root
- nix --extra-experimental-features 'nix-command flakes' build
- cp ./result tcp-proxy
- name: upload
image: "nixery.dev/shell/curl"
environment:
TOKEN:
from_secret: gitea
commands:
- curl --user garionion:$TOKEN --upload-file ./tcp-proxy https://git.entr0py.de/api/packages/garionion/generic/tcp-stream-proxy/${DRONE_TAG}/tcp-proxy
when:
ref:
- refs/tags/*