mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-27 07:14:04 +09:00
arm64 users can only take the Talos ISO, disk images, kernel and initramfs from the Image Factory today, because a release carries the amd64 ones only. The tag build now builds the assets for both arches and uploads the arm64 set next to the amd64 one under the same naming. It also pushes the talos installer image as a two-arch index, because a node installed from the arm64 assets pulls its installer from that image. The rest of the build stays amd64. Signed-off-by: Aleksei Sviridkin <f@lex.la> Assisted-by: LLM
20 lines
955 B
Bash
Executable File
20 lines
955 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
|
|
version=${VERSION:-$(git describe --tags)}
|
|
|
|
gh release upload --clobber $version _out/assets/cozystack-crds.yaml
|
|
gh release upload --clobber $version _out/assets/cozystack-operator-talos.yaml
|
|
gh release upload --clobber $version _out/assets/cozystack-operator-generic.yaml
|
|
gh release upload --clobber $version _out/assets/cozystack-operator-hosted.yaml
|
|
for arch in amd64 arm64; do
|
|
gh release upload --clobber $version _out/assets/metal-$arch.iso
|
|
gh release upload --clobber $version _out/assets/metal-$arch.raw.xz
|
|
gh release upload --clobber $version _out/assets/nocloud-$arch.raw.xz
|
|
gh release upload --clobber $version _out/assets/kernel-$arch
|
|
gh release upload --clobber $version _out/assets/initramfs-metal-$arch.xz
|
|
done
|
|
gh release upload --clobber $version _out/assets/cozypkg-*.tar.gz
|
|
gh release upload --clobber $version _out/assets/cozypkg-checksums.txt
|
|
gh release upload --clobber $version _out/assets/openapi.json
|