-
Notifications
You must be signed in to change notification settings - Fork 75
/
nfpm.yaml
36 lines (35 loc) · 912 Bytes
/
nfpm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# nfpm example config file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: "overlaybd-snapshotter"
arch: ${GOARCH}
platform: ${GOOS}
version: ${SEMVER}
release: ${RELEASE}
section: "default"
priority: "extra"
maintainer: "overlaybd authors"
description: |
Overlaybd snapshotter
vendor: "overlaybd"
homepage: "https://github.com/containerd/accelerated-container-image"
license: "Apache-2.0"
contents:
- src: ./bin/ctr
dst: /opt/overlaybd/snapshotter/ctr
- src: ./bin/overlaybd-snapshotter
dst: /opt/overlaybd/snapshotter/overlaybd-snapshotter
- src: ./bin/convertor
dst: /opt/overlaybd/snapshotter/convertor
- src: ./script/overlaybd-snapshotter.service
dst: /opt/overlaybd/snapshotter/overlaybd-snapshotter.service
type: config
- src: ./script/config.json
dst: /etc/overlaybd-snapshotter/config.json
type: config
overrides:
rpm:
scripts:
deb:
scripts: