Just keep trying
ci/woodpecker/push/woodpecker Pipeline failed Details

main
Jef Roosens 2021-12-31 14:51:28 +01:00
parent 0331705e4a
commit 4ed5b029c3
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 3 additions and 2 deletions

View File

@ -3,12 +3,13 @@ pipeline:
image: 'archlinux:latest' image: 'archlinux:latest'
commands: commands:
# Update packages # Update packages
- pacman -Syu --needed --noconfirm base-devel sudo - pacman -Syu --needed --noconfirm base-devel
# Create non-root user to perform build & switch to their home # Create non-root user to perform build & switch to their home
- groupadd -g 1000 builder - groupadd -g 1000 builder
- useradd -mg builder builder - useradd -mg builder builder
- chown -R builder:builder "$PWD" - chown -R builder:builder "$PWD"
- su builder
# Build the package # Build the package
- sudo -u builder -- makepkg -s - 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'