chore(ci): modernize config
This commit is contained in:
parent
8f190c489b
commit
5bdd4e21b0
5 changed files with 38 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue