Skip to content

Commit ba829d3

Browse files
authored
Cut first 7 characters of the tag SHA1
1 parent fd3ed98 commit ba829d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/pre-command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ compute_tag() {
3434
sums="${sums}${sha}"
3535
fi
3636
done < <(env | sort)
37-
echo "${sums}" | sha1sum | cut -c 7
37+
echo "${sums}" | sha1sum | cut -c-7
3838
}
3939

4040
$(aws ecr get-login --no-include-email)

0 commit comments

Comments
 (0)