-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathipfs.yaml
45 lines (39 loc) · 1007 Bytes
/
ipfs.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
package:
name: ipfs
version: 0.27.0
epoch: 0
description: An IPFS implementation in Go
copyright:
- license: Apache-2.0
dependencies:
provides:
- kubo
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- fuse3
- go
- openssl # significantly reduces background CPU usage, but requires CGO and gcc
pipeline:
- uses: git-checkout
with:
expected-commit: 59bcea8783e4117d56aeb81685ce33b8ddb13a1b
repository: https://github.com/ipfs/kubo
tag: v${{package.version}}
- runs: |
CGO_ENABLED=1 GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) GOFLAGS=-buildvcs=false make build GOTAGS=openssl
install -m755 -D ./cmd/ipfs/ipfs "${{targets.destdir}}"/usr/bin/ipfs
- runs: |
# create fs-repo directory
mkdir -p /data/ipfs
# create mount points
mkdir /ipfs /ipns
- uses: strip
update:
enabled: true
github:
identifier: ipfs/kubo
strip-prefix: v