Just keep trying
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
0331705e4a
commit
4ed5b029c3
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue