archiso-klowner/.woodpecker.yaml
Mark Riedesel 0f8d356213
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
try that again
2024-11-18 13:46:19 -06:00

20 lines
637 B
YAML

when:
- event: [manual, cron]
steps:
- name: build
secrets: [registry_user, registry_password]
image: docker.io/archlinux:base-devel
privileged: true
commands:
- pacman -Sy
- pacman -S archiso --noconfirm
- sed -i 's/pacstrap -C/pacstrap -N -C/' $(which mkarchiso)
- ./build-iso
- eval $(grep iso_ archiso/profiledef.sh)
- ISO_FILE="archiso/out/$iso_name-$iso_version-x86_64.iso"
- echo $ISO_FILE
- |
curl --user ${REGISTRY_USER}:${REGISTRY_PASSWORD}
--upload-file $ISO_FILE
${CI_FORGE_URL}/api/packages/${CI_REPO_OWNER}/generic/$ISO_FILE