Add support for building snaps
This commit is contained in:
parent
385898b21f
commit
1270eeeae5
24
snapcraft.yaml
Normal file
24
snapcraft.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: webhook
|
||||||
|
version: '1.0'
|
||||||
|
summary: webhook is a lightweight incoming webhook server to run shell commands
|
||||||
|
description: |
|
||||||
|
webhook is a lightweight incoming webhook server to run shell commands.
|
||||||
|
grade: stable
|
||||||
|
confinement: strict
|
||||||
|
base: core18
|
||||||
|
parts:
|
||||||
|
webhook:
|
||||||
|
plugin: go
|
||||||
|
source: https://github.com/adnanh/webhook.git
|
||||||
|
go-importpath: github.com/adnanh/webhook
|
||||||
|
build-packages:
|
||||||
|
- build-essential
|
||||||
|
apps:
|
||||||
|
webhook:
|
||||||
|
command: bin/webhook
|
||||||
|
daemon: simple
|
||||||
|
restart-condition: on-abnormal
|
||||||
|
plugs:
|
||||||
|
- home
|
||||||
|
- network
|
||||||
|
- network-bind
|
Loading…
Reference in New Issue
Block a user