fixed variable reference
This commit is contained in:
@@ -121,8 +121,8 @@ jobs:
|
|||||||
echo "should_build=true" >> $GITHUB_OUTPUT
|
echo "should_build=true" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [ "${{ steps.mlflow-base.outputs.manifest_found }}" == "true" ] && \
|
if [ "${{ steps.mlflow-base.outputs.success }}" == "true" ] && \
|
||||||
[ "${{ steps.mlflow-full.outputs.manifest_found }}" == "true" ]; then
|
[ "${{ steps.mlflow-full.outputs.success }}" == "true" ]; then
|
||||||
echo "✅ Both MLflow base and MLflow-full images found"
|
echo "✅ Both MLflow base and MLflow-full images found"
|
||||||
if [ "${{ steps.mlflow-base.outputs.digest }}" != "${{ steps.mlflow-full.outputs.base_image_digest }}" ]; then
|
if [ "${{ steps.mlflow-base.outputs.digest }}" != "${{ steps.mlflow-full.outputs.base_image_digest }}" ]; then
|
||||||
echo "Base image digest has changed"
|
echo "Base image digest has changed"
|
||||||
@@ -131,7 +131,7 @@ jobs:
|
|||||||
echo "Base image digest is unchanged"
|
echo "Base image digest is unchanged"
|
||||||
echo "should_build=false" >> $GITHUB_OUTPUT
|
echo "should_build=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
elif [ "${{ steps.mlflow-base.outputs.manifest_found }}" != "true" ]; then
|
elif [ "${{ steps.mlflow-base.outputs.success }}" != "true" ]; then
|
||||||
echo "❌ MLflow base image not found"
|
echo "❌ MLflow base image not found"
|
||||||
echo "should_build=false" >> $GITHUB_OUTPUT
|
echo "should_build=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user