Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
allow dots in docker tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
chrootlogin committed Dec 26, 2020
1 parent 606ff7c commit a5b3c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: |
export BRANCH_NAME=${GITHUB_REF#refs/*/}
[ "$BRANCH_NAME" == "master" ] && export DOCKER_TAG="latest" || export DOCKER_TAG="${BRANCH_NAME//[^A-Za-z0-9-]/-}"
[ "$BRANCH_NAME" == "master" ] && export DOCKER_TAG="latest" || export DOCKER_TAG="${BRANCH_NAME//[^A-Za-z0-9-.]/-}"
echo "::set-output name=tag::$DOCKER_TAG"
id: docker-tag

Expand Down

0 comments on commit a5b3c10

Please sign in to comment.