chore(publish.sh) fix publication check by switching from raw curl to docker buildx imagetools for stronger manifest retrieving #1564
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR #1558 aimed at fixing the publication process by decreasing the amount of checked platform.
But this was not enough as only the past 3 weekly where checked, so b9e129d fixed it by checking the 2 last LTS and the 2 last weekly in order to unblock the
2.375.3
LTS release.This new PR aims at fixing the root cause which is the Docker buildx + DockerHub switching to OCI images (including OCI manifest) instead of the former Docker custom manifests.
Found the error message `` which pointed me to jjlin/docker-image-extract#2.
This change, announced in https://www.docker.com/blog/announcing-docker-hub-oci-artifacts-support/, was not seen as breaking but it was in fact.
By switching out from
curl
requests to the DockerHub API (which is fragile code) to thedocker buildx imagetools
command line:docker
CLI internals