Skip to content

Commit

Permalink
Fixed detect release for RHEL
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Feb 5, 2023
1 parent 076b2c1 commit 89511f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/images_build_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
fi
echo "is_default_branch=$result" >> $GITHUB_OUTPUT
echo "current_branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
echo "current_branch=$github_ref" >> $GITHUB_OUTPUT
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -260,6 +260,12 @@ jobs:
-v $PFLT_DOCKERCONFIG:/temp-authfile.json:ro \
quay.io/opdev/preflight:stable check container ${{ steps.build_image.outputs.image-with-tag }} --submit
- name: Push to RedHat certification procedure
id: push_to_registry_all_tags
uses: redhat-actions/push-to-registry@v2
with:
tags: ${{ steps.meta.outputs.tags }}

- name: Cleanup
run: |
echo "${{ steps.meta.outputs.tags }}" | while IFS= read -r image_name ; do podman rmi -i -f $image_name; done
Expand Down

0 comments on commit 89511f0

Please sign in to comment.