Updated CI to use new system
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details

pull/112/head
Jef Roosens 2022-04-07 14:43:41 +02:00
parent 8ecac2ff28
commit d11ad78bff
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@ branches: [dev]
pipeline:
build:
image: 'archlinux:latest'
image: 'archlinux:base-devel'
commands:
# Update packages
- pacman -Syu --needed --noconfirm base-devel
- pacman -Syu
# Create non-root user to perform build & switch to their home
- groupadd -g 1000 builder
- useradd -mg builder builder
@ -17,9 +17,9 @@ pipeline:
- makepkg -s --noconfirm --needed
publish:
image: 'archlinux:latest'
image: 'curlimages/curl:latest'
commands:
# Publish the package
- 'for pkg in $(ls -1 *.pkg*); do curl -XPOST -T "$pkg" -H "X-API-KEY: $VIETER_API_KEY" https://arch.r8r.be/publish; done'
- 'for pkg in $(ls -1 *.pkg*); do curl -XPOST -T "$pkg" -H "X-API-KEY: $VIETER_API_KEY" https://arch.r8r.be/vieter/publish; done'
secrets:
- vieter_api_key