initial commit
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
commit
5036e2fd86
|
@ -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
|
Loading…
Reference in New Issue