33 lines
887 B
YAML
33 lines
887 B
YAML
name: Test setup and build APKs
|
|
run-name: ${{ gitea.actor }} is building the Docker Images for ${{ gitea.repository }}
|
|
on: [push]
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
Build-APK-Arch-Linux: # Renamed job for clarity
|
|
runs-on: archlinux
|
|
|
|
container:
|
|
volumes:
|
|
- /prod/data/apk/:/prod/data/apk/:rw # host_path:container_path:mode (rw or ro)
|
|
|
|
steps:
|
|
|
|
- name: Install act_runner dependencies
|
|
run: |
|
|
pacman -Syu --noconfirm git base-devel curl jq wget unxz sha256sum
|
|
|
|
- name: Fetch act_runner setup script
|
|
run: |
|
|
git clone https://gist.github.com/c7672ecd2ef5d96ebd09ccd13a668a91.git /opt/act_runner
|
|
chmod +x /opt/act_runner/install.sh
|
|
/opt/act_runner/install.sh
|
|
|
|
- name: Check out Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Start setup proces
|
|
run: |
|
|
./setup.sh
|