Skip to content

Commit

Permalink
Update list-docker-image-tags.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
  • Loading branch information
mpg committed Dec 10, 2024
1 parent b61211d commit 268b36e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/docker_files/list-docker-image-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ list () {
dir="${1%/Dockerfile}"
dir="${dir%/}"
hash="$(git hash-object "$dir/Dockerfile")"
echo "$(basename -- "$dir")-$hash"
base="$(basename -- "$dir")"
echo "$base-$hash-amd64"
if [ "$base" != "arm-compilers" ]; then
echo "$base-$hash-arm64"
fi
}

if [ $# -eq 0 ]; then
Expand Down

0 comments on commit 268b36e

Please sign in to comment.