Merge pull request #31 from Icinga/bugfix/support-branches

action.bash: don't fail at docker build -t on support branches
This commit is contained in:
Noah Hilverling 2020-10-14 11:01:34 +02:00 committed by GitHub
commit 8c150a8bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
;;