Merge branch 'lunar' of github-personal:PikaOS-Linux/pika-kernel-builder into lunar

This commit is contained in:
ferrreo 2023-06-26 14:05:11 +01:00
commit 6ec49865ea
2 changed files with 12 additions and 9 deletions

View File

@ -8,7 +8,7 @@ jobs:
build: build:
runs-on: self-hosted runs-on: self-hosted
container: container:
image: ubuntu:lunar image: ghcr.io/pikaos-linux/pika-kernel-container:latest
volumes: volumes:
- /proc:/proc - /proc:/proc
options: --privileged -it options: --privileged -it
@ -16,9 +16,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install needed packages
run: apt update && apt install bc bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev debhelper lz4 qtbase5-dev rsync schedtool wget zstd tar -y
- name: Build Kernel - name: Build Kernel
run: ./main.sh run: ./main.sh

View File

@ -7,17 +7,14 @@ jobs:
build: build:
runs-on: self-hosted runs-on: self-hosted
container: container:
image: ubuntu:lunar image: ghcr.io/pikaos-linux/pika-kernel-container:latest
volumes: volumes:
- /proc:/proc - /proc:/proc
options: --privileged -it options: --privileged -it
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install needed packages
run: apt update && apt install bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev debhelper libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar dpkg-sig -y
- name: Import GPG key - name: Import GPG key
id: import_gpg id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5 uses: crazy-max/ghaction-import-gpg@v5
@ -38,3 +35,12 @@ jobs:
- name: Release Kernel - name: Release Kernel
run: ./release.sh run: ./release.sh
- name: Purge cache
uses: jakejarvis/cloudflare-purge-action@master
env:
# Zone is required by both authentication methods
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
PURGE_URLS: '["https://ppa.pika-os.com/dists/lunar/InRelease", "https://ppa.pika-os.com/dists/lunar/main/binary-i386/Packages.gz", "https://ppa.pika-os.com/dists/lunar/main/binary-amd64/Packages.gz", "https://ppa.pikaos.com/dists/lunar/pika-sources.deb", "https://ppa.pika-os.com/dists/kinetic/main/source/Sources.gz" ]'