continuwuity/.forgejo/workflows/build-alpine.yml
magmaus3 85eee9b28e
All checks were successful
/ build (push) Successful in 35s
feat: add alpine ci
2025-05-05 18:47:54 +02:00

38 lines
966 B
YAML

on:
- workflow-dispatch
- push
jobs:
build:
runs-on: ubuntu-latest
container:
image: alpine:edge
steps:
- name: set up dependencies
run: |
apk update
apk upgrade
apk add nodejs git alpine-sdk
- uses: actions/checkout@v4
with:
sparse-checkout: "alpine/"
# - uses: https://code.forgejo.org/actions/checkout
- name: set up user
run: adduser -DG abuild ci
- name: set up keys
run: |
pwd
mkdir ~/.abuild
echo "${{ secrets.abuild_privkey }}" > ~/.abuild/ci@continuwuity.rsa
echo "${{ secrets.abuild_pubkey }}" > ~/.abuild/ci@continuwuity.rsa.pub
echo $HOME
echo 'PACKAGER_PRIVKEY="/root/.abuild/ci@continuwuity.rsa"' > ~/.abuild/abuild.conf
ls ~/.abuild
- name: make sure the keys are actually there
run: ls ~/.abuild -a
# vim: shiftwidth=2