nextcloud-deb/.gitlab-ci.yml

20 lines
493 B
YAML

# Build on bullseye
default:
image: debian:bullseye
latest:
# Build the latest .deb file
stage: build
tags: [ docker ]
script:
- apt update && apt install -y build-essential fakeroot devscripts apache2-dev
- export DEBEMAIL="NOREPLY@`hostname -d`"
- mkdir -p builddir
- uscan --overwrite-download --destdir builddir
- cd ../nextcloud-server-*
- dpkg-buildpackage -rfakeroot
- cd - ; cp ../nextcloud-server_*.deb .
artifacts:
paths:
- '*.deb'