Skip to content

Commit

Permalink
Make the pseudo-config used in sigstore attachments a bit more valid
Browse files Browse the repository at this point in the history
... to placate quay.io's validation.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
  • Loading branch information
mtrmac committed Oct 19, 2022
1 parent e8566a4 commit 8481ec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker_image_dest.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ func (d *dockerImageDestination) putSignaturesToSigstoreAttachments(ctx context.
Digest: "", // We will fill this in later.
Size: 0,
}, nil)
ociConfig.RootFS.Type = "layers"
} else {
logrus.Debugf("Fetching sigstore attachment config %s", ociManifest.Config.Digest.String())
// We don’t benefit from a real BlobInfoCache here because we never try to reuse/mount configs.
Expand Down

0 comments on commit 8481ec9

Please sign in to comment.