This repository has been archived on 2025-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild-jellyfin-web/.drone.yml
Ben Vincent c94c534367
Some checks failed
continuous-integration/drone/push Build is failing
feat: initial setup
- add Makefile
- add spec file
2024-08-26 23:19:29 +10:00

37 lines
906 B
YAML

kind: pipeline
type: docker
name: almalinux8
trigger:
event:
include:
- push
- pull_request
steps:
- name: build
image: git.query.consul/unkin/almalinux8:latest
commands:
# Install the required packages using custom repositories
- dnf module install -y nodejs:20
- dnf install -y gcc gcc-c++ make patch autoconf automake libtool rpm-build nodejs npm git curl wget which
# Run the `make` command
- make build
- name: upload
image: git.query.consul/unkin/almalinux8:latest
environment:
GITEA_PASSWORD:
from_secret: gitea_password
commands:
- >
for rpm in /drone/src/rpmbuild/RPMS/*/*.rpm; do
curl --user droneci:$GITEA_PASSWORD --upload-file $rpm https://git.query.consul/api/packages/unkin/rpm/almalinux/el8/upload
done
when:
branch:
- master
event:
- push