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