forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapko.yaml
62 lines (53 loc) · 1.23 KB
/
apko.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
package:
name: apko
version: 0.19.9
epoch: 0
description: Build OCI images using APK directly without Dockerfile
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ca-certificates-bundle
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/chainguard-dev/apko
tag: v${{package.version}}
expected-commit: 818ff3c8202feafb6ed8032961b1a6f11fa78132
- runs: |
make apko
install -m755 -D ./apko "${{targets.contextdir}}"/usr/bin/apko
- uses: strip
test:
pipeline:
- runs: |
apko version || exit 1
apko --help
- runs: |
cat <<EOF >> /tmp/wolfi-base.yaml
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- wolfi-base
cmd: /bin/sh -l
archs:
- x86_64
- aarch64
EOF
apko build /tmp/wolfi-base.yaml test test.tar
update:
enabled: true
github:
identifier: chainguard-dev/apko
strip-prefix: v
use-tag: true