The image should be pushed to remote registry, and finish without error.
Actual Behaviour
The image was pushed successfully, but the terraform apply failed with the following error:
β·
β Error: Unable to create image, image not found: unable to get digest: Got bad response from registry: 400 Bad Request
β
β with docker_registry_image.default[0],
β on main.tf line 113, in resource "docker_registry_image" "default":
β 113: resource "docker_registry_image" "default" {
Community Note
Terraform (and docker Provider) Version
OpenTofu v1.7.1 on darwin_arm64
Affected Resource(s)
docker_registry_image
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
The image should be pushed to remote registry, and finish without error.
Actual Behaviour
The image was pushed successfully, but the terraform apply failed with the following error:
Steps to Reproduce
terraform apply
Important Factoids
References