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
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Build PKG"
|
- name: "PKGBUILD"
|
||||||
image: archlinux
|
image: git.hydrar.de/jmarya/pacco-build:latest
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm base-devel
|
- buildpkg navos x86_64 pac.hydrar.de "$TOKEN" "$KEY"
|
||||||
- useradd -m pkgbuild
|
environment:
|
||||||
- passwd -d pkgbuild
|
TOKEN:
|
||||||
- "echo \"pkgbuild ALL=(ALL) NOPASSWD: /usr/bin/pacman\" >> /etc/sudoers"
|
from_secret: pacco_token
|
||||||
- chown -R pkgbuild:pkgbuild .
|
KEY:
|
||||||
- "su - pkgbuild -c \"cd $(pwd) && makepkg -si --noconfirm\""
|
from_secret: navos_key
|
||||||
- ls
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue