This commit is contained in:
commit
32dfb09078
4 changed files with 111 additions and 0 deletions
16
.woodpecker.yaml
Normal file
16
.woodpecker.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue