Update release script with proper support for non-*.docker.io bucket URLs
Upstream-commit: b8e7ec1b74fdeaeab56a8ffab801dcd87b7361ca Component: engine
This commit is contained in:
@ -107,7 +107,7 @@ s3_url() {
|
||||
echo "https://$BUCKET"
|
||||
;;
|
||||
*)
|
||||
echo "http://$BUCKET.s3.amazonaws.com"
|
||||
s3cmd ws-info s3://$BUCKET | awk -v 'FS=: +' '/http:\/\/'$BUCKET'/ { gsub(/\/+$/, "", $2); print $2 }'
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user