corrected ci step references

This commit is contained in:
Brian Bjarke Jensen
2025-10-04 21:28:08 +02:00
parent b235d05df3
commit 244692118b
+4 -4
View File
@@ -88,17 +88,17 @@ jobs:
if [ "${{ github.event.inputs.skip_image_check }}" == "true" ]; then if [ "${{ github.event.inputs.skip_image_check }}" == "true" ]; then
echo "Image check skipped, forcing build" echo "Image check skipped, forcing build"
echo "should_build=true" >> $GITHUB_OUTPUT echo "should_build=true" >> $GITHUB_OUTPUT
elif [ "${{ steps.mlflow-base.outputs.success }}" == "true" ] && \ elif [ "${{ needs.get-mlflow-digest.outputs.success }}" == "true" ] && \
[ "${{ steps.mlflow-full.outputs.success }}" == "true" ]; then [ "${{ needs.get-mlflow-full-base-image-digest.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 [ "${{ needs.get-mlflow-digest.outputs.digest }}" != "${{ needs.get-mlflow-full-base-image-digest.outputs.base_image_digest }}" ]; then
echo "Base image digest has changed" echo "Base image digest has changed"
echo "should_build=true" >> $GITHUB_OUTPUT echo "should_build=true" >> $GITHUB_OUTPUT
else else
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.success }}" != "true" ]; then elif [ "${{ needs.get-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