30 lines
884 B
YAML
30 lines
884 B
YAML
name: Generate and commit i386 whitelist
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '.github/gen-i386-whitelist'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: self-hosted
|
|
container:
|
|
image: ghcr.io/pikaos-linux/pika-base-debian-container:i386
|
|
volumes:
|
|
- /proc:/proc
|
|
options: --privileged -it
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Get script depends
|
|
run: apt-get install -y python3-numpy
|
|
|
|
- name: Generate whitelist json files
|
|
run: chmod +x ./gen-i386-whitelist.sh && ./gen-i386-whitelist.sh
|
|
|
|
- name: Setup git and push
|
|
run: git config --global user.name 'Github Workflow Action' && git config --global user.email 'hotrod.master@hotmail.com' && git config --global --add safe.directory /__w/pin-generation/pin-generation && git add . && git commit -am"Commited by GH Action - gen-i386-whitelist.yml" && git push
|