Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Mar 28, 2021

Use the expression from go-digest, based on image-spec. We'd get more robust validation by using go-digest directly, but that would require a vendoring bump while bumping our regexp does not.

Use the expression from [1], based on the spec in [2].  We'd get more
robust validation by using go-digest directly, but that would require
a vendoring bump while bumping our regexp does not.

[1]: https://github.com/opencontainers/go-digest/blob/v1.0.0-rc1/digest.go#L62
[2]: https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md#digests
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 28, 2021
@mfojtik
Copy link
Contributor

mfojtik commented Mar 29, 2021

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 29, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mfojtik, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit a852126 into openshift:master Mar 29, 2021
@wking wking deleted the more-specific-digest-regular-expression branch March 29, 2021 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants