Fix wrong column for mlflow version
Build and push mlflow container / Create mlflow tag (push) Failing after 5s 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:34:34 +01:00
parent 4df20b0dae
commit 4d600ed607
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
- name: Get mlflow version - name: Get mlflow version
id: mlflow id: mlflow
run: | run: |
mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f2) mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)
echo $mlflow echo $mlflow
echo "mlflow=$mlflow" >> $GITHUB_OUTPUT echo "mlflow=$mlflow" >> $GITHUB_OUTPUT
- name: Create tag if it doesn't exist - name: Create tag if it doesn't exist
@ -30,7 +30,7 @@ jobs:
echo "Tag already exists" echo "Tag already exists"
echo "created=false" >> $GITHUB_OUTPUT echo "created=false" >> $GITHUB_OUTPUT
else else
git tag ${{ steps.mlflow.outputs.mlflow }} -m "Tag ${{ steps.mlflow.outputs.mlflow }}" git tag ${{ steps.mlflow.outputs.mlflow }} -m "Release ${{ steps.mlflow.outputs.mlflow }}"
git push origin ${{ steps.mlflow.outputs.mlflow }} git push origin ${{ steps.mlflow.outputs.mlflow }}
echo "created=true" >> $GITHUB_OUTPUT echo "created=true" >> $GITHUB_OUTPUT
fi fi