Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Unverified Commit 062600ef authored by Daniel Jiang's avatar Daniel Jiang Committed by GitHub
Browse files

Merge pull request #12972 from reasonerjt/content-trust-check-tag

Check the tag in isArtifactSigned func
parents 316f0349 2f7c8c2a
......@@ -21,6 +21,9 @@ var (
if err != nil {
return false, err
}
if len(art.Tag) > 0 {
return checker.IsTagSigned(art.Tag, art.Digest), nil
}
return checker.IsArtifactSigned(art.Digest), nil
}
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment