Skip to content

Commit

Permalink
Merge pull request #287 from carlosmmatos/fix-sha-multi-arch-tags
Browse files Browse the repository at this point in the history
fix(container-sensor-pull): fix issue with listing tags and multi-arch
  • Loading branch information
redhatrises authored May 10, 2024
2 parents 95a58ce + 70dcb11 commit 4ff1a5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ format_tags() {
else
echo "$all_tags" |
sed -n 's/.*"tags" : \[\(.*\)\].*/\1/p' |
awk -F',' -v keyword="$SENSOR_PLATFORM" '{for (i=1; i<=NF; i++) if ($i ~ keyword) print $i}'
awk -F',' -v keyword="$SENSOR_PLATFORM" '{for (i=1; i<=NF; i++) if ($i ~ keyword && $i !~ /sha256/) print $i}'
fi
}

Expand Down

0 comments on commit 4ff1a5e

Please sign in to comment.