Add refs/tags to tag check
Build and push mlflow container / Create mlflow tag (push) Failing after 4s Details
Build and push mlflow container / Build and push mlflow container (push) Has been skipped Details

This commit is contained in:
LordMathis 2024-01-31 14:30:54 +01:00
parent d53171ea25
commit 4df20b0dae
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: Create tag if it doesn't exist
id: create
run: |
if git rev-parse "${{ steps.mlflow.outputs.mlflow }}"; then
if git rev-parse "refs/tags/${{ steps.mlflow.outputs.mlflow }}" 2>/dev/null; then
echo "Tag already exists"
echo "created=false" >> $GITHUB_OUTPUT
else