Skip to content

Commit b8139de

Browse files
committed
add workflow to allow certification of past images
1 parent 2c70199 commit b8139de

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/scripts/exclude_ci_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
.github/workflows/build-ubi-dependency.yml
1919
.github/workflows/build-single-image.yml
2020
.github/workflows/cache-update.yml
21+
.github/workflows/certify-ubi-image.yml
2122
.github/workflows/cherry-pick.yml
2223
.github/workflows/codeql-analysis.yml
2324
.github/workflows/create-release-branch.yml
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Certify UBI image
2+
run-name: Certify UBI image ${{ inputs.image }} by @${{ github.actor }}
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
image:
8+
description: "Image to certify"
9+
required: true
10+
type: string
11+
submit:
12+
description: "Submit results to Redhat"
13+
required: false
14+
type: boolean
15+
default: false
16+
preflight_version:
17+
description: "Preflight version to use"
18+
required: false
19+
type: string
20+
default: "1.11.1"
21+
22+
defaults:
23+
run:
24+
shell: bash
25+
26+
permissions:
27+
contents: read
28+
29+
jobs:
30+
certify-ubi-images:
31+
name: Certify OpenShift UBI images
32+
runs-on: ubuntu-24.04
33+
steps:
34+
- name: Certify UBI OSS images in quay
35+
uses: ./.github/actions/certify-openshift-image
36+
with:
37+
image: ${{ inputs.image }}
38+
project_id: ${{ secrets.CERTIFICATION_PROJECT_ID }}
39+
pyxis_token: ${{ secrets.PYXIS_API_TOKEN }}
40+
preflight_version: ${{ inputs.preflight_version }}
41+
submit: ${{ inputs.submit }}

0 commit comments

Comments
 (0)