Skip to content

Commit 6e5a3b5

Browse files
committed
[build] Fix build hook regex match
1 parent d8f7c1f commit 6e5a3b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/hooks/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -ex
77

88
# DOCKER_TAG can be : latest, ubuntu-20.04, v1.0.0, v1.0.0-ubuntu-20.04
99

10-
if [[ $DOCKER_TAG =~ "^(latest|v[0-9]+\.[0-9]+\.[0-9]+)$" ]]; then
10+
if [[ $DOCKER_TAG =~ ^(latest|v[0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
1111
TAG=debian-buster-slim
1212
else
1313
# Remove vX.X.X- suffix

0 commit comments

Comments
 (0)