Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The check for image is now more robust (apache#13556)
The request to get manifest of the image in GitHub Packages might randomly return either schma 1 response: { "schemaVersion": 1, "name": "apache/airflow/master-python3.6-ci", "tag": "470317521", "architecture": "amd64", "fsLayers": [ { Or schema 2 response: { "schemaVersion": 2, "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "config": { "mediaType": "application/vnd.docker.container.image.v1+json", "size": 56952, "digest": "sha256:5c80e2ab289647802affafc5c1efc879fe4f5b559cb7a2a1215868e84b1d6424" }, In order to check image more reliably we check the status code of the curl response instead.
- Loading branch information