Skip to content

Commit

Permalink
add a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Nov 12, 2024
1 parent 0ad55bf commit 280952d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ jobs:
echo "env.KERNEL_VERSION must not be empty or null"
exit 1
fi
#Use Podman Inspect instead of skopeo for local checks.
podman inspect ${{ env.IMAGE_REGISTRY }}/${{ env.KERNEL_FLAVOR }}-kernel:${{ env.FEDORA_VERSION }} > inspect.json
kernel=$(jq -r '.[]["Config"]["Labels"]["ostree.linux"]' inspect.json)
if [[ "${{ env.KERNEL_VERSION }}" != "$kernel"* ]]; then
Expand Down

0 comments on commit 280952d

Please sign in to comment.