forked from vieter-v/vieter
Updated CI to use new system
parent
8ecac2ff28
commit
d11ad78bff
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue