Skip to content

Commit

Permalink
fixed extracting version from tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ATGardner committed May 8, 2020
1 parent 33281c7 commit 6836c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
BRANCH_NAME=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
# Strip "v" prefix from tag name
VERSION=$(echo $VERSION | sed -e 's/^v//')
VERSION=$(echo $BRANCH_NAME | sed -e 's/^v//')
LATEST_TAG="--tag ${IMAGE_ID}:latest"
else
FULL_SHA=${{ github.sha }}
Expand Down

0 comments on commit 6836c98

Please sign in to comment.