-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make artifacts ingester work with both GitHub and OCI providers (#3309)
* Make artifacts ingester work with both GitHub and OCI providers This modifies the ingester to change its behavior depending on whether the provider is an OCI provider or a github one. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Pass in OCI authenticator to container verifier Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Fix getting registry from OCI provider It's used differently than I thought Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Use tags as versions Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Fix mindev Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Use a vesrsion name dict for github compatibility Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Run `go mod tidy` Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Fix dockerhub rule evaluation and rename versions The logic to refer to containers is now changed to using the `Sha` field from the ArtifactVersions since this is what the bebavior was. With this, we can now evaluate policies with the dockerhub provider!! The usage of the word version around the verifier was misleading, so this was fixed so the code and expectations are easier to follow. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> --------- Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
- Loading branch information
Showing
13 changed files
with
370 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.