2024-11-23 20:54:27 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-x86_64: &build
|
|
|
|
container: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/x86_64:latest
|
|
|
|
steps:
|
|
|
|
- uses: https://code.forgejo.org/actions/cache@v4
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/repodest
|
|
|
|
|
|
|
|
- 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
|
2024-11-23 20:59:58 +00:00
|
|
|
run: cd alpine && do-the-build
|