Add publishing task to the pipeline
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
bb56641e4b
commit
42af53c190
10
.build.yml
10
.build.yml
@ -9,3 +9,13 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- echo "charch ${platform} && ./configure.sh && cd build-${platform}-xtchain && ninja -v && ninja diskimg -v" > build.cmds
|
- echo "charch ${platform} && ./configure.sh && cd build-${platform}-xtchain && ninja -v && ninja diskimg -v" > build.cmds
|
||||||
- xtchain < build.cmds
|
- xtchain < build.cmds
|
||||||
|
publish:
|
||||||
|
image: codingworkshop/oscw-runner:latest
|
||||||
|
secrets:
|
||||||
|
- OSCW_ARTIFACTS_HOSTNAME
|
||||||
|
- OSCW_ARTIFACTS_USERNAME
|
||||||
|
- OSCW_ARTIFACTS_USERKEY
|
||||||
|
commands:
|
||||||
|
- tar -I 'gzip' -cpf ExectOS-$(date +'%Y%m%d')-${CI_COMMIT_SHA:0:10}-${platform}.tar.gz -C build-${platform}-xtchain/output/binaries .
|
||||||
|
- gzip -c build-${platform}-xtchain/output/disk.img > ExectOS-$(date +'%Y%m%d')-${CI_COMMIT_SHA:0:10}-${platform}.img.gz
|
||||||
|
- artifact_publish "ExectOS-$(date +'%Y%m%d')-${CI_COMMIT_SHA:0:10}-${platform}.*.gz" ExectOS
|
||||||
|
Loading…
Reference in New Issue
Block a user