Add release build
This commit is contained in:
parent
498fafb598
commit
68788f2c39
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@ -14,9 +14,24 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Import GPG key
|
||||||
|
id: import_gpg
|
||||||
|
uses: crazy-max/ghaction-import-gpg@v5
|
||||||
|
with:
|
||||||
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
passphrase: ${{ secrets.PASSPHRASE }}
|
||||||
|
|
||||||
|
- name: Install SSH key
|
||||||
|
uses: shimataro/ssh-key-action@v2
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
name: id_rsa
|
||||||
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
|
if_key_exists: replace
|
||||||
|
|
||||||
- name: Install needed packages
|
- 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 lz4 qtbase5-dev rsync schedtool wget zstd tar -y
|
run: apt update && apt install bc bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig -y
|
||||||
|
|
||||||
- name: Build Kernel
|
- name: Build Kernel
|
||||||
run: ./main.sh
|
run: ./main.sh
|
||||||
|
8
output/repo/conf/distributions
Normal file
8
output/repo/conf/distributions
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Origin: ppa.pika-os.com
|
||||||
|
Label: apt repository
|
||||||
|
Codename: kinetic
|
||||||
|
Architectures: amd64
|
||||||
|
Components: main
|
||||||
|
Description: pika-os kernel repo
|
||||||
|
SignWith: 752E173A3F8B04F5
|
||||||
|
Pull: kinetic
|
@ -3,6 +3,5 @@
|
|||||||
echo "Pika Kernel - Copying Output"
|
echo "Pika Kernel - Copying Output"
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
mkdir ./output
|
|
||||||
rm ./linux-libc*.deb
|
rm ./linux-libc*.deb
|
||||||
cp ./*.deb ./output/
|
cp ./*.deb ./output/
|
@ -1,3 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Pika Kernel - Releasing Kernel"
|
echo "Pika Kernel - Releasing Kernel"
|
||||||
|
|
||||||
|
# Sign the packages
|
||||||
|
dpkg-sig --sign builder ./output/linux-image*.deb
|
||||||
|
dpkg-sig --sign builder ./output/linux-headers*.deb
|
||||||
|
|
||||||
|
# Update the repo
|
||||||
|
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-image*.deb
|
||||||
|
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-headers*.deb
|
||||||
|
|
||||||
|
gpg --armor --export harderthanfire@gmail.com | tee ./output/repo/key.gpg
|
||||||
|
|
||||||
|
rsync -azP --delete ./output/repo/ pikappa@pika-os.com:/srv/www/pikappa/
|
Loading…
Reference in New Issue
Block a user