From 095145266a28aa3bfa7cdd4c61127996063dcfbe Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sat, 2 Apr 2022 16:59:04 +0200 Subject: [PATCH] fix(ci): drone --- .drone.yml | 24 ++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 25 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c05836f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +--- + +kind: pipeline +type: kubernetes +name: deploy + +platform: + arсh: amd64 + +steps: +- name: arch-linux-pkg + commands: + - sed --in-place 's/pkgver=.*/pkgver=${DRONE_TAG}/' PKGBUILD + - makepkg --sign + environment: + MAKEPKG_PACKAGER: "csrbot@cryptic.systems" + MAKEPKG_PKGEXT: ".pkg.tar.zst" + MAKEPKG_SRCEXT: ".src.tar.zst" + image: docker.io/volkerraschek/build-image:latest + +# trigger: +# event: +# include: +# - tag \ No newline at end of file diff --git a/.gitignore b/.gitignore index 73e070b..0361fef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ * +!.drone.yml !.gitignore !PKGBUILD \ No newline at end of file