Validate docker image before bumping
Closed this issue · 0 comments
joemaller commented
Check that the image exists before bumping. v5.9.2 currently does not exist on DockerHub, but it's the latest release returned from the WordPress API.
There are some notes here:
docker-wordpress-dev/docker-compose.yml
Lines 41 to 47 in 1eea447
Might not be able to catch the 404, but checking for a name
might be enough?
Here's the DockerHub error JSON for a non-existent image:
{
"errinfo": {
"namespace": "library",
"repository": "wordpress",
"tag": "5.9.5"
},
"message": "tag '5.9.5' not found"
}
A successful request is much bigger, but includes a top-level name
key.