We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec3fc59 + 26ea420 commit 4ee0020Copy full SHA for 4ee0020
test/images/image-util.sh
@@ -133,6 +133,8 @@ push() {
133
134
# The manifest command is still experimental as of Docker 18.09.2
135
export DOCKER_CLI_EXPERIMENTAL="enabled"
136
+ # reset manifest list; needed in case multiple images are being built / pushed.
137
+ manifest=()
138
# Make archs list into image manifest. Eg: 'amd64 ppc64le' to '${REGISTRY}/${image}-amd64:${TAG} ${REGISTRY}/${image}-ppc64le:${TAG}'
139
while IFS='' read -r line; do manifest+=("$line"); done < <(echo "$archs" | ${SED} -e "s~[^ ]*~$REGISTRY\/$image\-&:$TAG~g")
140
docker manifest create --amend "${REGISTRY}/${image}:${TAG}" "${manifest[@]}"
0 commit comments