blob: c2d420aecbe218eeef501c21b93ab14a34dd0d66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
stages:
- build
- publish
build:
stage: build
image: stefanwimmer128/archlinux-chaotic-paru-user:latest
before_script:
paru -Syu --noconfirm jq.sh-bin
script:
- makepkg -s --noconfirm
artifacts:
paths:
- "*.pkg.tar.zst"
timeout: 2h
publish:
stage: publish
image: alpine:latest
rules:
- if: $CI_COMMIT_TAG
script:
- apk add curl
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "zellij-selector-$CI_COMMIT_TAG-any.pkg.tar.zst" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/zellij-selector/$CI_COMMIT_TAG/zellij-selector-$CI_COMMIT_TAG-any.pkg.tar.zst"'
|