blob: f0faf7cd31d564b3520884978ddcf588e24a47b1 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
labels:
picus: small
steps:
build:
image: codeberg.org/stefanwimmer128/archlinux-chaotic-paru-user:latest
commands:
- export HOME=/home/user
- sudo chown -R $(id -u):$(id -g) .
- paru -Syu --noconfirm
- makepkg -s --noconfirm
upload:
image: woodpeckerci/plugin-s3
settings:
bucket: zellij-selector
source: "*.pkg.tar.zst"
target: /${CI_PIPELINE_NUMBER}/
path_style: true
endpoint: https://minio.stefanwimmer128.xyz/
access_key:
from_secret: upload_key
secret_key:
from_secret: upload_secret
checksum:
image: alpine:latest
commands:
- sha256sum *.pkg.tar.zst | tee SHA256SUM
upload-checksum:
image: woodpeckerci/plugin-s3
settings:
bucket: zellij-selector
source: SHA256SUM
target: /${CI_PIPELINE_NUMBER}/
path_style: true
endpoint: https://minio.stefanwimmer128.xyz/
access_key:
from_secret: upload_key
secret_key:
from_secret: upload_secret
publish:
when:
event: tag
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://codeberg.org/
files:
- zellij-selector-${CI_COMMIT_TAG}-any.pkg.tar.zst
- SHA256SUM
api_key:
from_secret: release_token
|