Skip to content
Snippets Groups Projects
Commit a8ddf3e2 authored by ab0027's avatar ab0027 💬
Browse files

Push compressed image to pub.zynthbox.io instead of uploading as artifact

parent bd6dd8f3
No related branches found
No related tags found
No related merge requests found
Pipeline #7316 failed
......@@ -39,17 +39,7 @@ build-zynthbox-image-armhf:
# Compress image
- xz -zv --threads=8 --memory=90% ./workspace/$image_name
- echo "Compressed Image Size -> $(du -h ./workspace/$image_name.xz)"
publish-zynthbox-image-armhf:
tags:
- arm64
image: ubuntu:focal
stage: publish
needs: ["build-zynthbox-image-armhf"]
dependencies: ["build-zynthbox-image-armhf"]
artifacts:
paths:
- ./ZynthianOS/src/workspace/*.img.xz
expire_in: 1 day
script:
- echo "Compressed Image Size -> $(du -h ./ZynthianOS/src/workspace/$image_name.xz)"
# Push compressed image to pub.zynthbox.io
- scp -P 3138 -i "$SSH_KEY_PUB_ZYNTHBOX_IO" -o "StrictHostKeyChecking no" "./workspace/$image_name.xz" zynthbox@pub.zynthbox.io:/mnt/pub_zynthbox_io_volume/ISOs/.ci-testing-isos/
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment