can't change directory
ci/woodpecker/push/woodpecker Pipeline failed Details

main
Jef Roosens 2021-12-31 14:50:18 +01:00
parent 0e74092a40
commit 0331705e4a
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ pipeline:
# 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
- cd /home/builder - chown -R builder:builder "$PWD"
# Build the package # Build the package
- sudo -u builder 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'