action.bash: don't fail at docker build -t on support branches

This commit is contained in:
Alexander A. Klimov 2020-10-14 10:53:24 +02:00
parent 10f14a7826
commit de6bb08cc0

View File

@ -45,7 +45,7 @@ case "$GITHUB_EVENT_NAME" in
;;
push)
grep -qEe '^refs/heads/.' <<<"$GITHUB_REF"
TAG="$(cut -d / -f 3- <<<"$GITHUB_REF")"
TAG="$(cut -d / -f 3- <<<"$GITHUB_REF" |tr / -)"
mkimg
push
;;