Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/call-publish-release-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@ jobs:
password: ${{ secrets.github-token }}

- name: Set up preflight binary
run: |
curl -sSfLO https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/latest/download/preflight-linux-amd64
chmod a+x ./preflight-linux-amd64
./preflight-linux-amd64 -v
shell: bash
uses: redhat-actions/openshift-tools-installer@v1
with:
preflight: latest
source: github

- name: Authenticate with GCP
uses: google-github-actions/auth@v3
Expand All @@ -108,7 +107,7 @@ jobs:

- name: Submit container to Red Hat for certification
run: |
./preflight-linux-amd64 check container \
preflight check container \
--certification-component-id 68e14199529ca9e0c382582c \
--pyxis-api-token '${{ steps.get-secrets.outputs.redhat-api-key }}' \
--submit $RHEL_SOURCE_IMAGE:${{ inputs.version }}
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/call-test-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,13 @@ jobs:
password: ${{ secrets.github-token }}

- name: Set up preflight binary
run: |
curl -sSfLO https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/latest/download/preflight-linux-amd64
chmod a+x ./preflight-linux-amd64
./preflight-linux-amd64 -v
shell: bash
uses: redhat-actions/openshift-tools-installer@v1
with:
preflight: latest
source: github

- name: Run tests
run: ./preflight-linux-amd64 check container ${{ inputs.image }}:${{ inputs.image-tag }}
run: preflight check container ${{ inputs.image }}:${{ inputs.image-tag }}
shell: bash

# https://github.com/redhat-openshift-ecosystem/openshift-preflight/issues/1235
Expand Down
Loading