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