~xdavidwu/flux

flux/containers/build.yml -rw-r--r-- 643 bytes
9c60ec96Pinghao Wu miniflux: enable webauthn support 11 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: alpine/edge
packages:
  - podman
sources:
  - https://git.xdavidwu.link/~xdavidwu/flux
secrets:
  - d45b9b20-bc8b-480e-8e6e-edb5e0fd5848 # podman auth
tasks:
  - setup: |
      sudo rc-service cgroups start
      sudo modprobe tun
      sudo chmod o+rw /dev/net/tun
      echo build:100000:65536 | sudo tee /etc/subuid
      echo build:100000:65536 | sudo tee /etc/subgid
  - build: |
      podman run -v .:/work cgr.dev/chainguard/apko:latest \
        build /work/flux/containers/$file $name \
        /work/$name.tar
      podman load -i $name.tar
  - publish: |
      podman push $name:latest-amd64 ghcr.io/xdavidwu/c/$name:$JOB_ID