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/*