From e8b858b5a4a1b22357f3c5f2a0b4a68d6beaae6e Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Sat, 4 Oct 2025 00:10:45 +0200 Subject: [PATCH] fixed variable reference --- .gitea/workflows/update.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml index bfaaf29..6af852b 100644 --- a/.gitea/workflows/update.yml +++ b/.gitea/workflows/update.yml @@ -116,12 +116,10 @@ jobs: - name: Build decision id: decision run: | - 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 "should_build=true" >> $GITHUB_OUTPUT - exit 0 - fi - if [ "${{ steps.mlflow-base.outputs.success }}" == "true" ] && \ + elif [ "${{ 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