All checks were successful
continuous-integration/drone/push Build is passing
33 lines
816 B
YAML
33 lines
816 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: build
|
|
|
|
steps:
|
|
- name: build-deb
|
|
image: cache.coadcorp.com/library/ubuntu:22.04
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y --no-install-recommends build-essential qt5-qmake qtbase5-dev qtbase5-dev-tools libexif-dev qt5-image-formats-plugins dpkg-dev fakeroot ca-certificates
|
|
- bash sbin/build_deb.sh "${DRONE_TAG:-${DRONE_COMMIT_SHA:0:8}}"
|
|
- ls -la dist
|
|
|
|
- name: gitea-release
|
|
image: cache.coadcorp.com/plugins/gitea-release
|
|
depends_on:
|
|
- build-deb
|
|
settings:
|
|
api_key:
|
|
from_secret: GITEA_TOKEN
|
|
base_url: https://git.coadcorp.com
|
|
files:
|
|
- dist/*.deb
|
|
draft: false
|
|
prerelease: false
|
|
title: ${DRONE_TAG}
|
|
note: Automated release for ${DRONE_TAG}
|
|
when:
|
|
event:
|
|
- tag
|