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

Build and push a scorecard image with CI #493

Closed
ebaron opened this issue Nov 16, 2022 · 0 comments · Fixed by #588
Closed

Build and push a scorecard image with CI #493

ebaron opened this issue Nov 16, 2022 · 0 comments · Fixed by #588
Assignees
Labels

Comments

@ebaron
Copy link
Member

ebaron commented Nov 16, 2022

Our CI should detect when a new scorecard image needs to be built, perform the build and push it to Quay. One way we could do this is the following:

  1. Use yq to parse the bundle's scorecard config within bundle/tests/scorecard/config.yaml and extract the scorecard image repository:tag, and store it in a variable.
  2. Use podman to query whether the image tag exists already.
  3. If it doesn't, build the scorecard image with make scorecard-build CUSTOM_SCORECARD_IMG=<variable from step 1>
  4. Push to Quay using the push-to-registry action.
@ebaron ebaron added the ci label Nov 16, 2022
@ebaron ebaron changed the title Build and push a scorecard imge with CI Build and push a scorecard image with CI Nov 18, 2022
@tthvo tthvo moved this to Todo in 2.3.0 release Nov 23, 2022
@tthvo tthvo self-assigned this May 11, 2023
@tthvo tthvo moved this from Todo to In Progress in 2.3.0 release May 18, 2023
@tthvo tthvo linked a pull request May 19, 2023 that will close this issue
7 tasks
@github-project-automation github-project-automation bot moved this from In Progress to Done in 2.3.0 release May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants