chore(ci): modernize config
All checks were successful
ci/woodpecker/push/clippy Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful

This commit is contained in:
Jef Roosens 2023-08-12 14:09:22 +02:00
parent 8f190c489b
commit 5bdd4e21b0
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
5 changed files with 38 additions and 36 deletions

View file

@ -3,11 +3,15 @@ matrix:
- 'linux/amd64'
# - linux/arm64
platform: ${PLATFORM}
branches: [ main ]
labels:
platform: ${PLATFORM}
when:
event: tag
skip_clone: true
pipeline:
steps:
build:
image: 'menci/archlinuxarm:base-devel'
pull: true
@ -23,8 +27,6 @@ pipeline:
- su builder
- curl -OL "https://git.rustybever.be/Chewing_Bever/alex/raw/tag/$CI_COMMIT_TAG/PKGBUILD"
- makepkg -s --noconfirm --needed
when:
event: tag
publish:
image: 'curlimages/curl'
@ -33,5 +35,3 @@ pipeline:
- 'for pkg in $(ls -1 *.pkg*); do curl -XPOST -T "$pkg" -H "X-API-KEY: $VIETER_API_KEY" https://arch.r8r.be/bur/publish; done'
secrets:
- vieter_api_key
when:
event: tag