This commit is contained in:
parent
620b699069
commit
1b05871374
1 changed files with 8 additions and 9 deletions
|
@ -3,13 +3,12 @@ when:
|
|||
branch: main
|
||||
|
||||
steps:
|
||||
- name: "Build PKG"
|
||||
image: archlinux
|
||||
- name: "PKGBUILD"
|
||||
image: git.hydrar.de/jmarya/pacco-build:latest
|
||||
commands:
|
||||
- pacman -Syu --noconfirm base-devel
|
||||
- useradd -m pkgbuild
|
||||
- passwd -d pkgbuild
|
||||
- "echo \"pkgbuild ALL=(ALL) NOPASSWD: /usr/bin/pacman\" >> /etc/sudoers"
|
||||
- chown -R pkgbuild:pkgbuild .
|
||||
- "su - pkgbuild -c \"cd $(pwd) && makepkg -si --noconfirm\""
|
||||
- ls
|
||||
- buildpkg navos x86_64 pac.hydrar.de "$TOKEN" "$KEY"
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: pacco_token
|
||||
KEY:
|
||||
from_secret: navos_key
|
||||
|
|
Loading…
Add table
Reference in a new issue