Skip to content

Commit

Permalink
docker: add arch to image tag
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Aug 28, 2024
1 parent 97e0385 commit cad4dab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc/DockerTag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ if [[ "$@" == "-dev" ]]; then
"./tools/OpenROAD/etc/DockerHelper.sh"
"./tools/OpenROAD/etc/DockerTag.sh"
)
cat "${file_list[@]}" | sha256sum | awk '{print substr($1, 1, 6)}'
ret=$(cat "${file_list[@]}" | sha256sum | awk '{print substr($1, 1, 6)}')
elif [[ "$@" == "-master" ]]; then
git describe
ret=$(git describe)
else
echo "Usage: $0 {-dev|-master}"
exit 1
fi
echo "${ret}-$(uname -m)"

0 comments on commit cad4dab

Please sign in to comment.