Forgot the sudo part
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Jef Roosens 2021-12-31 14:49:21 +01:00
parent 3be31d3ad7
commit 0e74092a40
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F

View file

@ -9,6 +9,6 @@ pipeline:
- useradd -mg builder builder - useradd -mg builder builder
- cd /home/builder - cd /home/builder
# Build the package # Build the package
- makepkg -s - sudo -u builder makepkg -s
# Publish the package # Publish the package
- 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish' - 'curl -F "file=@$(ls *.pkg*)" -H "X-API-KEY: $API_KEY" https://pkgs.rustybever.be/api/publish'