1
0
Fork 0

also build on non-tags
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus 2021-09-07 22:33:31 +02:00
parent 5036e2fd86
commit b775e2943e
1 changed files with 41 additions and 0 deletions

View File

@ -1,5 +1,46 @@
---
kind: pipeline
type: docker
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone --depth 1 https://github.com/moepman/wgskex.git .
- name: build
image: debian:bullseye-slim
commands:
- apt update -qq -y
- apt install -qq -y build-essential debhelper devscripts dh-virtualenv python3-venv
- dpkg-buildpackage -us -uc -b
- mkdir release
- mv ../*.deb release
- name: upload
image: plugins/s3
settings:
bucket: wgskex
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
path_style: true
endpoint: https://s3.moepman.eu
source: release/*
target: ${DRONE_BUILD_NUMBER}
strip_prefix: release/
trigger:
event:
- cron
- push
---
kind: pipeline
type: docker
name: tag