mirror of
https://github.com/MariaDB/mariadb-docker.git
synced 2025-04-19 06:02:18 +03:00
generate architectures: ubi architectures cannot retreived with bashbrew
For the moment hard code it, but using docker manifest inspect is almost there if something more automated is required.
This commit is contained in:
parent
132b45b326
commit
8eaa306576
@ -20,6 +20,10 @@ _generateParentRepoToArches() {
|
||||
| sort -u \
|
||||
| xargs bashbrew cat --format '[{{ .RepoName }}:{{ .TagName }}]="{{ join " " .TagEntry.Architectures }}"'
|
||||
) )"
|
||||
# could do, but returns arm64 rather than arm64v8
|
||||
#readarray -t ubiarch < <(docker manifest inspect redhat/ubi9-minimal | jq '.manifests[].platform.architecture')
|
||||
local ubiarch=(amd64 arm64v8 s390x ppc64le)
|
||||
parentRepoToArches[redhat/ubi9-minimal]=${ubiarch[@]//\"/}
|
||||
}
|
||||
_generateParentRepoToArches 'mariadb'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user