Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload sample plugins #573

Closed
noelbundick-msft opened this issue Jan 25, 2023 · 4 comments
Closed

Upload sample plugins #573

noelbundick-msft opened this issue Jan 25, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@noelbundick-msft
Copy link
Contributor

Describe the solution you'd like

We need Ratify project-owned plugin artifacts for use in samples/tests, specifically before merging dynamic plugin support in #519

Anything else you would like to add:

A maintainer with access to wabbitnetworks can run the following commands to upload verifier/store plugins:

CGO_ENABLED=0 go build -o=./sampleverifier ./plugins/verifier/sample
oras push wabbitnetworks.azurecr.io/test/sample-verifier-plugin:v1 ./sampleverifier

CGO_ENABLED=0 go build -o ./samplestore ./plugins/referrerstore/sample
oras push wabbitnetworks.azurecr.io/test/sample-store-plugin:v1 ./samplestore
@noelbundick-msft noelbundick-msft added the enhancement New feature or request label Jan 25, 2023
@susanshi
Copy link
Collaborator

Hi @noelbundick-msft , Sorry for the delay. looks like i don't have access. I will follow up with PM owner tomorrow , or @binbin-li gets back next week, he is the only dev with access for now.

output:
azureuser@huishVM:~/repo/ratify$ oras push wabbitnetworks.azurecr.io/test/sample-verifier-plugin:v1 ./sampleverifier
Uploading e372e828ddb5 sampleverifier
Error: POST "https://wabbitnetworks.azurecr.io/v2/test/sample-verifier-plugin/blobs/uploads/": unexpected status code 401: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.

@susanshi
Copy link
Collaborator

@binbin-li , would you be able to help?

@binbin-li
Copy link
Collaborator

oras push wabbitnetworks.azurecr.io/test/sample-store-plugin:v1 ./samplestore

sure, it's done

@noelbundick-msft
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants