Skip to content

Commit

Permalink
fix: Fix versioning of Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpeople committed Sep 30, 2021
1 parent 1260833 commit b306034
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
fi
elif [[ $GITHUB_REF == refs/pull/* ]]; then
VERSION=pr-${{ github.event.number }}
elif [[ "${{ steps.tag_version.outputs.new_tag }}" != "" ]]; then
fi
if [[ "${{ steps.tag_version.outputs.new_tag }}" != "" ]]; then
VERSION=${{ steps.tag_version.outputs.new_tag }}
fi
TAGS="${IMAGE}:${VERSION}"
Expand Down

0 comments on commit b306034

Please sign in to comment.