From 20883e96608aeaa0af057a269cc5c299622005a9 Mon Sep 17 00:00:00 2001 From: Ivan Vazhov Date: Thu, 10 Feb 2022 23:34:19 +0300 Subject: [PATCH] Drone --- .drone.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f6e7760 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,36 @@ +kind: pipeline +type: docker +name: build + +steps: +- name: build + image: archlinux:base-devel + privileged: true + commands: + - cd /root + - echo "Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch" > /etc/pacman.d/mirrorlist + - pacman -Syu --noconfirm + - bash archiso_make.sh + +- name: scp files + image: appleboy/drone-scp + settings: + host: + from_secret: scp_host + username: + from_secret: scp_user + password: + from_secret: scp_pass + port: 22 + source: /root/archlinux-*-x86_64.iso + target: /var/www/mirror + +#- name: gitea_release +# image: plugins/gitea-release +# settings: +# api_key: xxxxxxxx +# base_url: https://your.gitea.tld +# files: dist/* +# when: +# event: tag +