Skip to content

Commit

Permalink
remove docker hub from oci artifact downgrade list (#1057)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <[email protected]>
  • Loading branch information
bdehamer authored Mar 8, 2024
1 parent 61eeb07 commit d1f0f5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/large-beds-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sigstore/oci": minor
---

Remove Docker Hub from list of registries which are not compatible with OCI v1.1.0 image spec
2 changes: 1 addition & 1 deletion packages/oci/src/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import type { Descriptor, ImageIndex, ImageManifest } from './types';

const EMPTY_BLOB = Buffer.from('{}');

const DOWNGRADE_REGISTRIES = ['docker.io', 'amazonaws.com'];
const DOWNGRADE_REGISTRIES = ['amazonaws.com'];

export type AddArtifactOptions = {
readonly artifact: Buffer;
Expand Down

0 comments on commit d1f0f5a

Please sign in to comment.