38 lines
755 B
YAML
38 lines
755 B
YAML
# nfpm.yaml
|
|
|
|
name: act_runner
|
|
version: ${PACKAGE_VERSION}
|
|
release: ${PACKAGE_RELEASE}
|
|
arch: amd64
|
|
platform: linux
|
|
section: default
|
|
priority: extra
|
|
description: "A runner for Gitea based on act."
|
|
maintainer: Gitea
|
|
homepage: https://gitea.com/gitea/act_runner
|
|
license: MIT
|
|
|
|
disable_globbing: false
|
|
|
|
replaces:
|
|
- act_runner
|
|
|
|
provides:
|
|
- act_runner
|
|
|
|
# Files to include in the package
|
|
contents:
|
|
- src: /app/act_runner-linux-amd64
|
|
dst: /usr/bin/act_runner
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
|
|
# Scripts to run during installation/removal (optional)
|
|
# scripts:
|
|
# preinstall: ./scripts/preinstall.sh
|
|
# postinstall: ./scripts/postinstall.sh
|
|
# preremove: ./scripts/preremove.sh
|
|
# postremove: ./scripts/postremove.sh
|