-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeckish.yaml
68 lines (60 loc) · 1.42 KB
/
peckish.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
metadata:
name: "peckish"
version: "0.0.7-1"
description: "peckish transforms software artifacts"
author: "amy"
arch: "amd64"
license: "Apache-2.0"
input:
name: "peckish release binary"
type: "file"
paths:
- "./target/release/peckish"
output:
- name: "peckish.tar"
type: "tarball"
path: "./release/peckish.tar"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "peckish.arch.pkg.tar"
type: "arch"
path: "./release/peckish.arch.pkg.tar"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "peckish.deb"
type: "deb"
path: "./release/peckish.deb"
depends: "libc6"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "peckish exe"
type: "file"
path: "./release"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "peckish rpm"
type: "rpm"
path: "./release/peckish.rpm"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "queer/peckish:latest docker image"
type: "docker"
image: "queer/peckish:latest"
base_image: "ubuntu:jammy"
entrypoint: ["/usr/bin/peckish"]
injections:
- "move-binary"
- "cleanup-binary-directory"
injections:
move-binary:
type: "move"
src: "/target/release/peckish"
dest: "/usr/bin/peckish"
cleanup-binary-directory:
type: "delete"
path: "/target"