You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oci_append.site: Creating...
╷
│ Error: Unable to push image
│
│ with oci_append.site,
│ on service.tf line 14, in resource "oci_append" "site":
│ 14: resource "oci_append" "site" {
│
│ Unable to push image, got error: PUT https://gcr.io/v2/mattmoor-chainguard/apko-hugo-cloudrun/manifests/sha256:d983e9ebe396bdbb1a035aed87fa4e30551188393349ad54cbaaab4c5aaf388c: DIGEST_INVALID: Manifest digest
│ "sha256:95bd4706afe03ac83a251988698f0b87edc1f8ac47276c3077a6849c5b5ee719" does not match expected digest "sha256:d983e9ebe396bdbb1a035aed87fa4e30551188393349ad54cbaaab4c5aaf388c".
The text was updated successfully, but these errors were encountered:
Ok, so the actual problem here is that oci_append attempts to write the resulting image back to base_image, and I was passing the base image by digest.
This is a sort of design flaw we should think through because it makes it impossible to append to a base image from a public source, but explains the error!
mattmoor
changed the title
oci_append appears to produce an invalid digestoci_append tries to write back to base_image which is weird and incorrect
May 13, 2023
The text was updated successfully, but these errors were encountered: