forked from vmware/antrea-operator-for-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 998 Bytes
/
certification.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Certify container with OpenShift
on:
workflow_dispatch:
inputs:
version_tag:
description: 'Version tag'
required: true
default: 'latest'
is_latest:
description: 'Set as latest'
required: true
default: true
type: boolean
jobs:
validate_image:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Run container certification
env:
VERSION: ${{ github.event.inputs.version_tag }}
IS_LATEST: ${{ github.event.inputs.is_latest }}
OCP_PROJECT_NAMESPACE: ${{ secrets.OCP_PROJECT_NAMESPACE }}
REGISTRY_LOGIN_USERNAME: ${{ secrets.REGISTRY_LOGIN_USERNAME }}
REGISTRY_LOGIN_PASSWORD: ${{ secrets.REGISTRY_LOGIN_PASSWORD }}
PFLT_PYXIS_API_TOKEN: ${{ secrets.PFLT_PYXIS_API_TOKEN }}
PFLT_CERTIFICATION_PROJECT_ID: ${{ secrets.PFLT_CERTIFICATION_PROJECT_ID }}
run: |
./hack/certify-operator-ocp.sh