Skip to content

Commit cc7d500

Browse files
committed
etc: add bazel option for DockerTag
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent df15721 commit cc7d500

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

etc/DockerTag.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ if [[ "$@" == "-dev" ]]; then
1313
"./etc/DockerTag.sh"
1414
)
1515
cat "${file_list[@]}" | sha256sum | awk '{print substr($1, 1, 6)}'
16+
elif [[ "$@" == "-bazel" ]]; then
17+
file_list=(
18+
"./bazel/Dockerfile"
19+
)
20+
cat "${file_list[@]}" | sha256sum | awk '{print substr($1, 1, 6)}'
1621
elif [[ "$@" == "-master" ]]; then
1722
git describe
1823
else

0 commit comments

Comments
 (0)