1
0
Fork 0

initial commit
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Markus 2021-09-07 22:02:37 +02:00
commit 5036e2fd86
1 changed files with 39 additions and 0 deletions

39
.drone.yml Normal file
View File

@ -0,0 +1,39 @@
---
kind: pipeline
type: docker
name: tag
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone --depth 1 --branch ${DRONE_TAG} 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_TAG}
strip_prefix: release/
trigger:
event:
- tag