blob: ef7d56c04571f4d915be36c34581faba9f6949cf (
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: firedragon-unsigned-extensions
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: firedragon-unsigned-extensions
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:
- firedragon-unsigned-extensions-${CI_COMMIT_TAG##v}-x86_64.pkg.tar.zst
- SHA256SUM
api_key:
from_secret: release_token
|