mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2024-12-18 15:18:35 +00:00
tools commit
This commit is contained in:
parent
e9e05ddfa0
commit
ef2f938228
@ -25,6 +25,10 @@ build-container-manifests() {
|
|||||||
build_args="--os linux --arch amd64 " ;;
|
build_args="--os linux --arch amd64 " ;;
|
||||||
aarch64)
|
aarch64)
|
||||||
build_args="--os linux --arch arm64 --variant v8" ;;
|
build_args="--os linux --arch arm64 --variant v8" ;;
|
||||||
|
s390x)
|
||||||
|
build_args="--os linux --arch s390x" ;;
|
||||||
|
ppc64le)
|
||||||
|
build_args="--os linux --arch ppc64le" ;;
|
||||||
*) echo "invalid arch"; exit;;
|
*) echo "invalid arch"; exit;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
|
|||||||
name="Rocky-${version}.${date}-${type}"
|
name="Rocky-${version}.${date}-${type}"
|
||||||
|
|
||||||
arches=(x86_64 aarch64)
|
arches=(x86_64 aarch64)
|
||||||
|
set -x
|
||||||
if [[ $major -ge 9 ]]; then
|
if [[ $major -ge 9 ]]; then
|
||||||
arches=(${arches[@]} s390x ppc64le)
|
arches=(${arches[@]} s390x ppc64le)
|
||||||
fi
|
fi
|
||||||
@ -45,6 +46,10 @@ GitFetch: refs/heads/${name}-x86_64
|
|||||||
GitCommit: ${shasums[x86_64]}
|
GitCommit: ${shasums[x86_64]}
|
||||||
arm64v8-GitFetch: refs/heads/${name}-aarch64
|
arm64v8-GitFetch: refs/heads/${name}-aarch64
|
||||||
arm64v8-GitCommit: ${shasums[aarch64]}
|
arm64v8-GitCommit: ${shasums[aarch64]}
|
||||||
Architectures: amd64, arm64v8
|
s390x-GitFetch: refs/heads/${name}-s390x
|
||||||
|
s390x-GitCommit: ${shasums[s390x]}
|
||||||
|
ppc64le-GitFetch: refs/heads/${name}-ppc64le
|
||||||
|
ppc64le-GitCommit: ${shasums[ppc64le]}
|
||||||
|
Architectures: amd64, arm64v8, ppc64le, s390x
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user