ptrcports/.forgejo/workflows/build.yaml
ptrcnull 66bb35ae87
Some checks failed
/ build (arm32v7) (push) Failing after 9s
/ build (arm64v8) (push) Failing after 3s
/ build (x86_64) (push) Successful in 15m19s
meta: add more architectures
2024-11-23 23:34:50 +01:00

28 lines
800 B
YAML

on:
push:
jobs:
build:
strategy:
matrix:
arch:
- x86_64
- arm64v8
- arm32v7
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"