initial commit
Some checks are pending
ci/woodpecker/manual/woodpecker Pipeline is pending

This commit is contained in:
Mark Riedesel 2024-11-18 11:44:46 -06:00
commit 32dfb09078
4 changed files with 111 additions and 0 deletions

16
.woodpecker.yaml Normal file
View file

@ -0,0 +1,16 @@
when:
- event: [manual, cron]
steps:
- name: build
secrets: [registry_user, registry_password]
image: archlinux:base-devel
commands:
- ./build-iso
- eval $(grep iso_ archiso/profiledef.sh)
- ISO_FILE="$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