Updated CI to use new system

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

View File

@ -3,10 +3,10 @@ branches: [dev]
pipeline: pipeline:
build: build:
image: 'archlinux:latest' image: 'archlinux:base-devel'
commands: commands:
# Update packages # Update packages
- pacman -Syu --needed --noconfirm base-devel - pacman -Syu
# 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
@ -17,9 +17,9 @@ pipeline:
- makepkg -s --noconfirm --needed - makepkg -s --noconfirm --needed
publish: publish:
image: 'archlinux:latest' image: 'curlimages/curl:latest'
commands: commands:
# Publish the package # 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: secrets:
- vieter_api_key - vieter_api_key