--- kind: pipeline type: docker name: default steps: - name: Build live-cd Image image: debian:buster privileged: true commands: - apt update - apt install -y live-build binutils - sed -i '1161s%umount%#umount%' /usr/share/debootstrap/functions - lb clean --purge - lb config - lb build - name: Copy to brunhilde image: appleboy/drone-scp settings: host: brunhilde.mgmt.intern.lab.or.it user: root key: from_secret: brunhilde_ssh_key target: /var/lib/vz/template/iso/ source: - live-image*.iso when: event: tag