Skip to content

Commit 3af6735

Browse files
ad-mfredericosilva
authored andcommitted
Allows dot in branch name in docker image
For version tags
1 parent 708a461 commit 3af6735

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/travis_deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -eux
33
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
4-
TAG_NAME=$( echo "$TRAVIS_BRANCH" | tr -cd 'a-zA-Z0-9\-_ ' );
4+
TAG_NAME=$( echo "$TRAVIS_BRANCH" | tr -cd 'a-zA-Z0-9\-_. ' );
55

66
if [[ "${TRAVIS_BRANCH}" == "master" ]]; then
77
TAG_NAME="latest";

0 commit comments

Comments
 (0)