-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoras-1.2.1-r0.yaml
46 lines (40 loc) · 939 Bytes
/
oras-1.2.1-r0.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
package:
name: oras-1.2.1-r0
version: 1.2.1
epoch: 0
description: OCI registry client - managing content like artifacts, images, packages.
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ca-certificates-bundle
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/oras-project/oras
tag: v${{package.version}}
destination: oras
expected-commit: a0228556766b6276010d8feb937af512e8a50808
- runs: |
cd oras
GOARCH=$(go env GOARCH)
make build-linux-${GOARCH}
install -m755 -D ./bin/linux/${GOARCH}/oras "${{targets.destdir}}"/usr/bin/oras
- uses: strip
update:
enabled: true
github:
identifier: oras-project/oras
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
oras --help
oras version