packaging/docker/publish.sh: Publish docker images synchronously (#8701)
Konstantinos Natsakis committed
Apr 14, 2020 at 17:34 UTC
e4f320ab6170d2a71593340a19f7b155c6dc7601
1 file changed
+1
-4
packaging/docker/publish.sh
+1
-4
@@ -79,13 +79,10 @@ echo "$DOCKER_PWD" | $DOCKER_CMD login -u "$DOCKER_USERNAME" --password-stdin
79
for ARCH in ${ARCHS[@]}; do
80
TAG="${MANIFEST_LIST}-${ARCH}"
81
echo "Publishing image ${TAG}.."
82
- $DOCKER_CMD push "${TAG}" &
82
+ $DOCKER_CMD push "${TAG}"
83
echo "Image ${TAG} published succesfully!"
84
done
85
86
-echo "Waiting for images publishing to complete"
87
-wait
88
-
86
# Recreate docker manifest list
87
echo "Getting tag list for version '${VERSION}'.."
88
TAGS=($(curl -s https://registry.hub.docker.com/v2/repositories/${REPOSITORY}/tags/ | jq -r '.results[]["name"]' | grep "^${VERSION}-"))