We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37299d commit f84ca89Copy full SHA for f84ca89
.github/workflows/check-missing-images.yml
@@ -42,14 +42,14 @@ jobs:
42
echo "Existing GHCR tags: $ghcr_tags"
43
44
while IFS= read -r tag; do
45
- if ! grep -q "^${tag}$" <<< "$ghcr_tags"; then
+ if ! grep -qx "${tag#v}" <<< "$ghcr_tags"; then
46
echo "Image missing for $tag"
47
missing_tags+=("$tag")
48
fi
49
done <<< "${{ steps.list_tags.outputs.tags }}"
50
51
+ # Output missing tags correctly to GITHUB_OUTPUT
52
{
- printf "%s\n" "${missing_tags[@]}"
53
echo "missing_tags<<EOF"
54
printf "%s\n" "${missing_tags[@]}"
55
echo "EOF"
0 commit comments