Update .gitignore and add build workflow for Archlinux package
Some checks failed
Build and push Archlinux package / build (push) Failing after 36s

This commit is contained in:
Edgar P. Burkhart 2025-05-05 18:25:02 +02:00
parent d5eb7e404b
commit 00e92ea194
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 30 additions and 4 deletions

View file

@ -0,0 +1,26 @@
name: Build and push Archlinux package
on:
push:
branches:
- main
jobs:
build:
runs-on: archlinux
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Archlinux
run: |
sudo pacman -Syu --noconfirm
- name: Build package
run: |
makepkg -fC --syncdeps --noconfirm
- name: Push package
run: |
curl -X PUT \
https://${{ github.server_url }}/api/packages/${{ github.repository_owner }}/arch/os \
--user ${{ vars.DOCKER_PUSH_USERNAME }}:${{ secrets.DOCKER_PUSH_PASSWORD }} \
--header "Content-Type: application/octet-stream" \
--data-binary '@./*.pkg.tar.zst'