ptrcports/.forgejo/workflows/build.yaml
ptrcnull 88ff24a8c8
All checks were successful
/ build (aarch64) (push) Successful in 25s
/ build (armhf) (push) Successful in 43s
/ build (armv7) (push) Successful in 41s
/ build (ppc64le) (push) Successful in 20s
/ build (riscv64) (push) Successful in 20s
/ build (s390x) (push) Successful in 21s
/ build (x86) (push) Successful in 12s
/ build (x86_64) (push) Successful in 9s
meta: add more architectures
2024-11-23 23:34:50 +01:00

33 lines
890 B
YAML

on:
push:
jobs:
build:
strategy:
matrix:
arch:
- aarch64
- armhf
- armv7
- ppc64le
- riscv64
- s390x
- x86_64
- x86
container: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/${{ matrix.arch }}:latest
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://code.forgejo.org/actions/cache@v4
with:
path: ~/repodest
key: ${{ matrix.arch }}-ptrcports
- name: Set up secrets
run: |
echo "${{ secrets.SSH_KEY }}" | base64 -d > /tmp/ssh_key
echo "${{ secrets.PACKAGER_PRIVKEY }}" | base64 -d > /tmp/packager_key
- name: Do the build
env:
PRIVATE_KEY: /tmp/ssh_key
PACKAGER_PRIVKEY: /tmp/packager_key
run: do-the-build ptrcports "$GITHUB_REF_NAME"