diff --git a/copy/sign_test.go b/copy/sign_test.go index 0ed64392e2..44d621c5b7 100644 --- a/copy/sign_test.go +++ b/copy/sign_test.go @@ -89,6 +89,13 @@ func TestCreateSignature(t *testing.T) { fingerprint: testKeyFingerprint, identity: "", }, + { + name: "dir: with overridden identity", + dest: dirDest, + fingerprint: testKeyFingerprint, + identity: "myregistry.io/myrepo:mytag", + successfullySignedIdentity: "myregistry.io/myrepo:mytag", + }, { name: "docker:// without overriding the identity", dest: dockerDest,