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