pika-pbuilder/.github/workflows/release-canary-v3.yml

37 lines
753 B
YAML
Raw Normal View History

2024-08-07 17:41:31 +02:00
name: PikaOS Package Build & Release (Canary) (amd64-v3)
2024-03-29 14:35:38 +01:00
on:
2024-08-07 17:41:31 +02:00
push:
branches:
- main
paths:
- '.github/release-canary-v3'
2024-03-29 14:35:38 +01:00
jobs:
build:
runs-on: ubuntu-latest
2024-03-29 14:35:38 +01:00
container:
2024-08-07 17:39:03 +02:00
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
2024-03-29 14:35:38 +01:00
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- 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
2024-08-07 17:39:03 +02:00
- name: Update APT Cache
run: apt-get update -y
2024-03-29 14:35:38 +01:00
- name: Build Package
run: ./main.sh
- name: Release Package
run: ./release.sh